OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Inner classes, How to use them on Zaurus?
cwalstad
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
Replies
cwalstad
post Jul 24 2004, 02:23 PM
Post #2





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



Thanks for your help.

Yes it works to add all of the inner classes to a jar file and then execute it using
CODE
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
CODE
evm -jar NameOfJarFile.jar

Because evm will not recognize the jar flag.


What a pain....
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: 1st October 2014 - 06:15 AM