![]() ![]() |
Feb 19 2007, 02:18 PM
Post
#1
|
|
|
Group: Members Posts: 657 Joined: 29-September 04 Member No.: 4,809 |
I'm trying to run a particular java application on my C3000 running pdaiiX13 v5.2.
Now, I've never dealt much with Java, so I can't tell if I'm being dumb, or it just isn't going to work... The application is called "KanjiGym Light", and it's a flashcard program that goes with Heisig's "Remembering the Kanji" book. Trying to run it with "java -j KanjiGymLight-1.1.jar" gives an error: java.lang.IllegalAccessException: method is not accessible at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.infoke(Method.java:372) at javavm.java.lang.JarLauncher.main(JarLauncher.java:49)a Trying it with specifiying classpath gets the same error: "java -cp /usr/share/classpath/glibj.zip:/usr/share/javavm/classes.zip -j KanjiGymLight-1.1.jar" Am I doing something wrong? Or is it just not going to work on the Z? I've attached the .jar file if anyone is enterprising enough to give it a try. *edit* It wouldn't let me upload a .jar, so that's really a zip archive. You'll have to unzip it to get the jar file.
Attached File(s)
|
|
|
|
Feb 22 2007, 04:23 AM
Post
#2
|
|
![]() Group: Members Posts: 2,808 Joined: 21-March 05 From: Sydney, Australia Member No.: 6,686 |
QUOTE(kahm @ Feb 20 2007, 08:18 AM) I'm trying to run a particular java application on my C3000 running pdaiiX13 v5.2. Now, I've never dealt much with Java, so I can't tell if I'm being dumb, or it just isn't going to work... The application is called "KanjiGym Light", and it's a flashcard program that goes with Heisig's "Remembering the Kanji" book. Trying to run it with "java -j KanjiGymLight-1.1.jar" gives an error: java.lang.IllegalAccessException: method is not accessible at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.infoke(Method.java:372) at javavm.java.lang.JarLauncher.main(JarLauncher.java:49)a Trying it with specifiying classpath gets the same error: "java -cp /usr/share/classpath/glibj.zip:/usr/share/javavm/classes.zip -j KanjiGymLight-1.1.jar" Am I doing something wrong? Or is it just not going to work on the Z? I've attached the .jar file if anyone is enterprising enough to give it a try. *edit* It wouldn't let me upload a .jar, so that's really a zip archive. You'll have to unzip it to get the jar file. it is missing /data/KPR handwritten.otf and also needs MS Mincho installed... ps: the correct syntax is java -jar KanjiGymLight-1.1.jar |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 21st May 2013 - 10:34 AM |