OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: kahm on February 19, 2007, 05:18:29 pm

Title: Java And Pdaxii13
Post by: kahm on February 19, 2007, 05:18:29 pm
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.
Title: Java And Pdaxii13
Post by: Meanie on February 22, 2007, 07:23:20 am
Quote
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=154709\"][{POST_SNAPBACK}][/a][/div]

it is missing /data/KPR handwritten.otf and also needs MS Mincho installed...

ps: the correct syntax is

java -jar KanjiGymLight-1.1.jar