Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JApplet library path  RSS feed

 
Edward Chen
Ranch Hand
Posts: 798
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I have a JApplet which have to use a my own jar library. Now if I place myLibrary.jar into /jre/lib/ext , it will work.

If I don't want to place to that system path, where should I place myLibrary.jar ?

Thanks
 
Joe Ess
Bartender
Posts: 9414
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yea, that approach won't work if you want people to download your applet from a web server. Take a look at the Java Tutorial page on Using the APPLET Tag. You want to put your JAR on your web server where it can be downloaded and point the APPLET tag to it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!