好的,我在eclipse的simular下运行了一些演示。提交了一个桌面版本并得到了一个jar。现在我该如何运行jar?它似乎没有 可以直接运行。
此外,我应该在哪里找到此信息而不是询问 这是一个傻瓜问题?
> Buildfile: G:\share\projects\eclipse\Charts Demo\build.xml
>
> jar:
> [echo] Compile is forcing compliance to the supported API's/features for maximum device compatibility. This allows smaller
> [echo] code size and wider device support
> [copy] Copying 1 file to G:\share\projects\eclipse\Charts Demo\build\tmp
> [javac] G:\share\projects\eclipse\Charts Demo\build.xml:147: warning: 'includeantruntime' was not set, defaulting to
> build.sysclasspath=last; set to false for repeatable builds
> [javac] Compiling 25 source files to G:\share\projects\eclipse\Charts Demo\build\tmp
> [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
> [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
> [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] Note: G:\share\projects\eclipse\Charts Demo\src\com\codename1\demos\charts\ChartDemosForm.java uses unchecked
> or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 3 warnings
> [jar] Building jar: G:\share\projects\eclipse\Charts Demo\dist\Charts Demo.jar
> [javac] G:\share\projects\eclipse\Charts Demo\build.xml:171: warning: 'includeantruntime' was not set, defaulting to
> build.sysclasspath=last; set to false for repeatable builds BUILD
> SUCCESSFUL Total time: 1 second