Mediator
Mediator

Reputation: 15378

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

Upvotes: 0

Views: 98

Answers (2)

Ankit
Ankit

Reputation: 2753

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.

Upvotes: 2

Ingo
Ingo

Reputation: 36339

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.

Upvotes: 0

Related Questions