Log in

View Full Version : How to run a JAR file


noel_foster
06-28-2003, 03:37 AM
I have downloaded a .JAR file onto my Jornada 568, but can not find a way to run it. I seem to be missing the necessary Java files. Anyone know if or how I can get this working? Thanks,

Walter Thompson :?

KidKomputer
06-28-2003, 05:59 AM
You'll probbably need jeode to do this...
Try
java -jar /dir1/dir2/foo.jar

If that doesn't work whoever packaged the jar didn't put the Main class in the manifest.
So you do

java -jar /dir1/Main
where Main is the name of the class that contains the main method

pocketpcdude1024
06-28-2003, 11:34 AM
While we're on the subject, does anyone know where I can get a JRE for my Pocket PC? :?

KidKomputer
06-28-2003, 05:24 PM
You can purchase a copy of Jeode and sun had a public beta a while ago, Jeode only officially supports 1.1.8 (no swing) nut you can get it to run with the swingall.jar. The sun implementation was waaaaay buggy though. I don't know if either of these will run on WM 2003, but I know you can run Jeode on PPC2000 & 2002 (Ipaq 3650 & HP 568)