开发者

How to create an application does not depend on jdk

I create project in netBeans use jdk 1.6. On my computer project is worked, but on other computers 开发者_高级运维do not work. on this and I want to create an application that runs on their libraries, how to do it


If on other computer there is no JRE then you cannot run your application.

So before that you have to install the JRE on the other's machine.

Or you can provide a installation package that consists of JRE and application.


Since you did not tell us what the error was or why it "did not work" on other computers, I take a guess. And here is the solution: Change the PATH variable so that the java executable will be found.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜