Jan 2 2006, 12:38 AM
Post
#1
|
|
|
Group: Members Posts: 53 Joined: 9-December 05 Member No.: 8,688 |
I am diving into the Personal Profile world, aided by some docs. But I need some help, because I'm only 1 week old in Java (Personal Java even younger)
http://developers.sun.com/techtopics/mobil...cles/ztutorial/ The release notes of J2ME Personal Profile for Zaurus and http://java.sun.com/j2me/docs/pdf/PP_Programmer_Guide.pdf In order to really understand what is inside an .ipk package containing a Java application, I want to launch the file manually using the command line. I have installed the J2ME Personal Profile for Zaurus Version 1.0, Early Access Release (from sun web site). In the programmer guide it is mentionned that to launch a .jar file, I should use the following command: CODE cvm [-Djava.class.path=classpath] className But my file is a .jar When running cvm from the directory where my .jar file is, I have tried: CODE cvm -Djava.class.path=. MyApplication.jar MyApplication As well as CODE cvm -Djava.class.path=. -jar MyApplication.jar MyApplication and CODE cvm -jar MyApplication.jar MyApplication But none will work. The application is the dictionary babbletower, that I've got working following Meanie's indication and a little reading on his web site (see thread http://www.oesf.org/forums/index.php?showtopic=10160) So can I run a .jar file if I don't have .class file? It's fine on my PC with the command CODE java -jar MyApplication.jar MyApplication But not with cvm. What am I missing here? Do I need to create classes to be able to run the .jar file? Thanks for any help Ludo |
|
|
|
![]() |
Jan 3 2006, 12:25 AM
Post
#2
|
|
|
Group: Members Posts: 53 Joined: 9-December 05 Member No.: 8,688 |
Ok I found out:
CODE cvm -XappName=$0 -Djava.class.path= ./MyApps.jar MyApps But I have the messages: CODE SlSharedManager: can't get proc entry Could not open translation file /home/QtPalmtop//i18n/ja/libs1.qmid Do you know what it relates to? Ludo (doing some progresses in java and personal profile!!) |
|
|
|
ludo How To Start A .jar File From The Command Line? Jan 2 2006, 12:38 AM
tml I haven't used cvm for some time now, but: are... Jan 2 2006, 03:54 AM
ludo Yes it does: if you type cvm without any option, i... Jan 2 2006, 03:41 PM
rrashkin I use the following:
CODEevm -cp jSolun100c.jar jS... Feb 8 2006, 09:01 AM
eMWe Hi, Bob,
I'm just fighting with Solun (120b) ... Sep 6 2006, 07:09 AM
Trevoke #!/bin/bash
$QPEDIR/bin/evm -XappName=... Sep 6 2006, 09:41 AM![]() ![]() |
|
Lo-Fi Version | Time is now: 25th May 2013 - 12:15 PM |