runexample.bat

来自「我用jfreechart时」· Batch 代码 · 共 22 行

BAT
22
字号
@echo off
if "%1" == "Antialiasing" goto java2req
if "%1" == "PrintChart_JDK12" goto java2req
echo Running example with Microsoft jview...
jview -cp:a examples.jar com.objectplanet.chart.examples.%1
if not errorlevel 1 goto end
echo Running jview failed...
echo Running example with Sun Java...
java -classpath %CLASSPATH%;examples.jar com.objectplanet.chart.examples.%1
if not errorlevel 1 goto end
echo Running java failed...
echo '
echo '
echo '
echo The program could not be started. You need to download and install java from www.javasoft.com
goto end
:java2req
echo '
echo '
echo '
echo %1 example needs to be compiled and runned with Java2. Runexample.bat cannot be used to run Java2 programs.
:end

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?