This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

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

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
nection.java:162)
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
java.lang.NullPointerException
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
dhana
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic