OESF Portables Forum

General Forums => General Discussion => Topic started by: naanu on August 03, 2004, 10:33:38 pm

Title: how to find jar file name in .jar applications?
Post by: naanu on August 03, 2004, 10:33:38 pm
I just want to run a jar file through jeode in zaurus and don't now how. Is there any way to find the main class name in jar file.
 
Thanks
Title: how to find jar file name in .jar applications?
Post by: zenyatta on August 04, 2004, 08:24:23 am
I presume you have read the Jeode tips (http://www.zaurus.com/dev/support/downloads/jeode_tips.pdf) but you don't know your jar file's main class. Finding it is quite easy:

1. A jar file is a regular zip file. Use any unzip tool to view or unpack its contents (you may have to rename it to .zip first).

2. Find the META-INF/MANIFEST.MF file and open it.

3. Find the Main-Class attribute. That's it.

z.
Title: how to find jar file name in .jar applications?
Post by: naanu on August 04, 2004, 11:26:14 am
Many thanks for the reply.I found the Main class name, but running into one other problem.

I have sl6000 with sharp rom and I presume it has jeode in it. And when I tried the command evm -cp, it said that it could not create jvm. I then installed jeode 1.10.7 and when I type evm it says

could not open translation file /home/QtPalntop/i18n/en/libs1.qmid