我试图为一个JAR可执行文件提供一个web应用程序。我有问题找出“代码”属性的类路径。 JAR最初被打包在CD-ROM上。确定jar html嵌入的类路径
在JAR本身(BDH.jar)双击执行"C:\Program Files\Java\jre6\bin\javaw.exe" -jar "C:\Documents and Settings\xxxx\My Documents\3. Current Projects\BDH\BDH.jar"
上捆绑的.exe文件双击执行 “差异Equations.exe” "C:\Documents and Settings\xxxx\My Documents\3. Current Projects\BDH\jre\bin\javaw.exe" -Xms134217728 -Xmx268435456 -classpath "C:\Documents and Settings\xxxx\My Documents\3. Current Projects\BDH\BDH.jar;C:\Documents and Settings\xxxx\My Documents\3. Current Projects\BDH\lax.jar;" com.zerog.lax.LAX "C:/Documents and Settings/xxxx/My Documents/3. Current Projects/BDH/Differential Equations.lax" "C:/Documents and Settings/xxxx/Local Settings/Temp/lax29DC.tmp"
这两个成功启动应用程序。
噢,我正在使用“applet-fu.js”来尝试加载它。我发现里面BDH.jar一堆可能的类,并尝试加载它们没有运气:
applet_fu.run(
{'width':'550','height':'320'},
{
'archive':'BDH.jar',
'code':'com/artmedialab/main/BDH.class'
},
'1.4.2',
'
Please install Java.
');
使这项工作的任何希望吗?