OESF Portables Forum
General Forums => General Discussion => Topic started by: Yasen on July 12, 2004, 10:09:48 am
-
I need this (http://jmol.sourceforge.net/) on my Z. Can anybody explain me how to run .jar file ?
-
You need to have both a terminal program (like qkonsole) and a Java runtime environment (like JEODE). I don't know about the other ROMs but with the Sharp 3.1 on the SL5500, they have to be installed seperately from (after) the ROM installation.
Then (I do this on a PC), you need to know the location of the main class in the JAR file. You can find this with " jar tf <jarfile name> ". It will likely be something like "Progname.progName" (note the implied directory).
Then, on the Z, you enter from the console: evm cp <jarfile name> <main class>.
-
From what I can see, the jar file is really the JMol applet. The full JMol application requires Java 1.4, but only the equivalent of Java 1.1.8 is available on the Zaurus.
To run an applet, you need to create or have access to a simple HTML page that loads the applet jar file and then use the command:
evm -appletviewer <HTML file/URL>
-
Hi,
if you have a runnable .jar you can just type "java -jar <jar-file>" on PC. Don't know if the jeode JVM can handle this too.
greets
Mag1c
-
Java Personal Profile is based on Java 1.3.1 (J2ME) and Jeode is based on Java 1.1.8. This is probably not going to work, but I'll give it try tonight.
-
10x to all of you but there is a small problem. Java Personal Profile require libfloat_1.0_arm.ipk but Icant find it anywhere
-
The download page states the applet works with any browser with Java 1.1. So if it is the applet jar you have, it should work fine with Jeode, which comes with the SL-5600 and hence you don't need to install any other version of JVM.
-
Yes but the aplet can be commanded only by some kind of dinamick web page and i dont know how to do that.
-
Yeah I tried to get the app to work with Personal Profile to no avial. It's written with swing, which is not included in J2ME.
-
Sad I'll think about running the applet.
Thank you all
-
Look at this page for creating a simple HTML page to embed the applet:
http://jmol.sourceforge.net/docs/JmolAppletGuide.html (http://jmol.sourceforge.net/docs/JmolAppletGuide.html)