Applet
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   karthik_rajan
Posted On:   Tuesday, July 24, 2001 12:30 AM

i have an applet class app1 which extends java.applet.Applet when i compile it it's working fine. i have another class app2 which extends app1. when i compile it.it's giving me error saying that app1 not found. though both r in the same package and the package and directory name r same. i have jdk1.3 and windows98. the jdk path has been set in autoexec in windows98. what to do? please answer to my question. =============================================================== TO FAQ MANAGER. IF U HAVE ANSWERS TO THIS QUESTION .PLEASE SEND ME THE URL.. REGARDS KARTHIK.    More>>

i have an applet class app1 which extends java.applet.Applet
when i compile it it's working fine.
i have another class app2 which extends app1.
when i compile it.it's giving me error saying that
app1 not found.
though both r in the same package and the package and directory name r same.
i have jdk1.3 and windows98.
the jdk path has been set in autoexec in windows98.
what to do?
please answer to my question.
===============================================================
TO FAQ MANAGER.
IF U HAVE ANSWERS TO THIS QUESTION .PLEASE SEND ME THE URL..
REGARDS
KARTHIK.

   <<Less

Re: Applet

Posted By:   John_Zukowski  
Posted On:   Thursday, July 26, 2001 06:49 PM

Proper usage of CLASSPATH is covered in the Java Language FAQ.

Re: Applet

Posted By:   btobana_oar  
Posted On:   Tuesday, July 24, 2001 01:48 AM

1) just remove all package names or packages and copy these two applets to a directory. Set the path properly, u should also set the classpath properly. now compile.
2) the only reason could be that the classpath is not set properly.
3) try to put app1 in a package and import that package.
About | Sitemap | Contact