Author Topic: how to find jar file name in .jar applications?  (Read 1591 times)

naanu

  • Newbie
  • *
  • Posts: 25
    • View Profile
how to find jar file name in .jar applications?
« 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

zenyatta

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
how to find jar file name in .jar applications?
« Reply #1 on: August 04, 2004, 08:24:23 am »
I presume you have read the Jeode tips 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.
SL-5500, 256MB Kingston CF card, 128MB EDGE SD card, Thomson HED-155 headphones
OpenZaurus 3.5.3 / Opie (kernel 64-0)

naanu

  • Newbie
  • *
  • Posts: 25
    • View Profile
how to find jar file name in .jar applications?
« Reply #2 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