OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | ELSI (coming soon) | Ibiblio


Welcome Guest ( Log In | Register )

> Inner classes, How to use them on Zaurus?
post Jul 24 2004, 12:37 PM
Post #1

Group: Members
Posts: 9
Joined: 25-June 04
Member No.: 3,830

So I have this Java program that uses inner classes. When I transfer the class files over to the Zaurus I get the message that filenames cannot be saved with a $ sign in them. I think the Zaurus converts the dollar sign to a %24 or something like that. When I try to run the program the vm fails to find the class. I tried using the terminal to rename the file and replace the %24 with a $ sign. If I do that the file seems to dissapear completely. How can I use inner classes on the Zaurus?

Thanks for your help.
Go to the top of the page
+Quote Post
Start new topic
post Sep 10 2004, 08:35 AM
Post #2

Group: Members
Posts: 30
Joined: 10-December 03
Member No.: 1,132

QUOTE(cwalstad @ Jul 24 2004, 02:23 PM)
Thanks for your help.

Yes it works to add all of the inner classes to a jar file and then execute it using
evm -cp NameOfJarFile.jar:. NameOfMainClass

But you cannot put all of the files in one jar and create a manifest file then run it using
evm -jar NameOfJarFile.jar

Because evm will not recognize the jar flag.

What a pain....

What about:

evm -classpath /path/to/jar/NameOfJarFile.jar
Go to the top of the page
+Quote Post

Posts in this topic

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 21st October 2017 - 08:09 AM