Author Topic: Java And Pdaxii13  (Read 2119 times)

kahm

  • Hero Member
  • *****
  • Posts: 657
    • View Profile
Java And Pdaxii13
« 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.
« Last Edit: February 19, 2007, 05:25:46 pm by kahm »
Fujitsu U8240 "Stormtrooper" -  Zaurus Supplement
Libretto U100 | Sony Librie, Sony Reader
SL-C3100: Sharp 1.11JP (Kanji Dictionary/Translator) - LCD Top swap with C1000.
SL-C3000: pdaXii13 5.4.7, SL-C3000 5.4.9 - microdrive replaced with 8gb Sandisk
SL-C1000: PDAXRom Beta3 | SL-6000L: Sharp 1.12 | SL-5500: Cacko, 64-0 kernel | SL-5000D: OZ-Opie
Linksys WCF12; Sharp CE-AG06, CE-RH2, CE-170TS; iRiver USB OTG Host cable; Socket BT rev.E CF; Hitachi 6gb Microdrive

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Java And Pdaxii13
« Reply #1 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
« Last Edit: February 22, 2007, 07:24:58 am by Meanie »
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K