Jul 29 2005, 07:14 AM
Post
#1
|
|
|
Group: Members Posts: 260 Joined: 7-March 04 From: Toronto Member No.: 2,200 |
i have a .jar/.jad j2me apps
it runs on symbian phone but i install [java_slc3000_arm.ipk] and i run : CODE # cvm -jar test.jad java.lang.NullPointerException at sun.misc.CVM.parseCommandLineOptions([Ljava/lang/String;Ljava/lang/String;Z)I(Compiled Method)(Unknown Source) Cannot start VM (exception during sun.misc.CVM.parseCommandLineOptions()) Could not create JVM. it doesn't work so i try: CODE # cvm -jar test.jar -jar: illegal argument usage: cvm [-fullversion] [-showversion] [-version] [-D<property>=<value>] [-XbuildOptions] [-XshowBuildOptions] [-XappName=<value>] [-cp <classpath> | -classpath <classpath>] [-Xbootclasspath[/a | /p]:<path>] [-Xverify[:{all | remote | none}] [-XfullShutdown] [-Xgc:youngGen=<youngSemispaceSize>] [-Xms<size>] [-Xss<size>] [-Xjit:[<option>[,<option>]...]] {<main class name> | -jar <jarfile> | -appletviewer <URL>} [<arguments>...] Valid -Xjit options include: icost=<0..32767> - Interpreter transition cost mcost=<0..32767> - Mixed transition cost climit=<0..65535> - Compilation threshold compile={none|all|policy} - When to compile inline={none|all|virtual|nonvirtual} - What to inline policyTriggeredDecompilations={true|false} - Policy Triggered Decompilations maxCompiledMethodSize=<0..65535> - Max Compiled Method Size codeCacheSize=<0..33554432> - Code Cache Size upperCodeCacheThreshold=<0%..100%> - Upper Code Cache Threshold lowerCodeCacheThreshold=<0%..100%> - Lower Code Cache Threshold XregisterPhis={true|false} - Pass Phi values in registers XcompilingCausesClassLoading={true|false} - Compiling Causes Class Loading Could not create JVM. both doesn't work what are the way to run those j2me .jad/.jar application? please help |
|
|
|
![]() |
Aug 2 2005, 12:25 PM
Post
#2
|
|
|
Group: Members Posts: 260 Joined: 7-March 04 From: Toronto Member No.: 2,200 |
CODE usage: cvm [-fullversion] [-showversion] [-version] [-D<property>=<value>] [-XbuildOptions] [-XshowBuildOptions] [-XappName=<value>] [-cp <classpath> | -classpath <classpath>] [-Xbootclasspath[/a | /p]:<path>] [-Xverify[:{all | remote | none}] [-XfullShutdown] [-Xgc:youngGen=<youngSemispaceSize>] [-Xms<size>] [-Xss<size>] [-Xjit:[<option>[,<option>]...]] {<main class name> | -jar <jarfile> | -appletviewer <URL>} [<arguments>...] Valid -Xjit options include: icost=<0..32767> - Interpreter transition cost mcost=<0..32767> - Mixed transition cost climit=<0..65535> - Compilation threshold compile={none|all|policy} - When to compile inline={none|all|virtual|nonvirtual} - What to inline policyTriggeredDecompilations={true|false} - Policy Triggered Decompilations maxCompiledMethodSize=<0..65535> - Max Compiled Method Size codeCacheSize=<0..33554432> - Code Cache Size upperCodeCacheThreshold=<0%..100%> - Upper Code Cache Threshold lowerCodeCacheThreshold=<0%..100%> - Lower Code Cache Threshold XregisterPhis={true|false} - Pass Phi values in registers XcompilingCausesClassLoading={true|false} - Compiling Causes Class Loading it said main class is missing i have "IDocEmailProxy_S7100.jar" and "IDocEmailProxy_S7100.jad" on my /mnt/cf but i cannot launch it |
|
|
|
samxiao Running J2me Apps On C1000? Jul 29 2005, 07:14 AM
onlinejunkie QUOTE(samxiao @ Jul 29 2005, 05:14 PM)i have ... Aug 1 2005, 11:33 PM
Stubear With cvm you generally have to do
CODEcvm NameOfCl... Aug 3 2005, 01:56 AM
samxiao QUOTE(Stubear @ Aug 3 2005, 04:56 AM)With cvm... Aug 3 2005, 09:55 AM
Stubear Do you know the name of the main class?
Use jar t... Aug 3 2005, 04:53 PM
tovarish jar/jad files dont work as they need an implementa... Aug 3 2005, 09:43 PM
samxiao QUOTE(tovarish @ Aug 4 2005, 12:43 AM)jar/jad... Aug 4 2005, 05:51 AM
tovarish try looking at me4se (google it) and use blackdown... Aug 8 2005, 11:09 PM![]() ![]() |
|
Lo-Fi Version | Time is now: 21st May 2013 - 06:10 AM |