Java does not run jar files

Booting, installing, newbie
Post Reply
Message
Author
User avatar
lvds
Posts: 340
Joined: Tue 23 Jan 2007, 15:15
Location: Near the window

Java does not run jar files

#1 Post by lvds »

Hi,

i have the following problem with java. I installed the java dotpup 1.5.0 and everything works fine when i go to a web page with some java applets insides, it is ok.

But i have some JAR files i need to run on my puppy. when i use windows the javaws runs ok and load the JAR file so i do not need to run a web browser and the JAR program runs autonomous.

The problem i have is that with puppy javaws does not load and run my JAR files. The JAR programs are ok because they run fine when i put them on a local webpage and asks a browser to load the JAR as an applet. But i need to get rid o the browser so to have more memory available.

does anyone know how to loads a JAR file direct with javaws inside puppy ?

Many thanks
Laurent

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#2 Post by rcrsn51 »

Instead of using javaws, try /usr/jre.../bin/java -jar filename

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#3 Post by muggins »

if you right click on a .jar file, and change the run action to
java -jar filename.jar , doesn't that work?

User avatar
lvds
Posts: 340
Joined: Tue 23 Jan 2007, 15:15
Location: Near the window

#4 Post by lvds »

Hi,

yes it works ! Thank you, i didn't know about this switch and i had to lauch jar files as applet, building html pages... Many thanks !

Best regards,
Laurent

Post Reply