• Post Reply Bookmark Topic Watch Topic
  • New Topic

no appletviewer.properties file found---help me with this error  RSS feed

dhana rangu
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have writen a simple applet which displays a button.It works fine with browser IE.But when i run using appletviewer it gives an error..

From the error i understood that appletviewer.properties file is missed.But i wonder where can I foind it ..and what should I do to resolve this

[no appletviewer.properties file found!]
security properties not found. using defaults.
MimeTable.load: file = e:\j2sdk1.4.2_04\lib\content-types.properties, java.io.Fi
leNotFoundException: e:\j2sdk1.4.2_04\lib\content-types.properties
java.io.FileNotFoundException: e:\j2sdk1.4.2_04\lib\content-types.properties
at java.io.FileInputStream.<init>(FileInputStream.java:56)
at java.io.FileInputStream.<init>(FileInputStream.java:75)
at sun.net.www.MimeTable.load(MimeTable.java:212)
at sun.net.www.MimeTable.<init>(MimeTable.java:43)
at sun.net.www.MimeTable.getDefaultTable(MimeTable.java:52)
at sun.net.www.protocol.file.FileURLConnection.connect(Compiled Code)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLCon
at sun.applet.AppletViewer.parse(Compiled Code)
at sun.applet.AppletViewer.parse(AppletViewer.java:911)
at sun.applet.AppletViewer.main(Compiled Code)
Default cache directory e:\j2sdk1.4.2_04\jcache not found. JAR caching disabled
File not found when looking for: buttoncount
at sun.applet.AppletPanel.createApplet(AppletPanel.java:496)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:432)
at sun.applet.AppletPanel.run(Compiled Code)
at java.lang.Thread.run(Thread.java:466)

Thanks a lot
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!