is there a way to execute a jar on different OS (linux/windows) that could be not installed jvm on?

I take a look on lunch4j but it make a search of jre on OS. This isn't my case.

Tnx alot

有帮助吗?

解决方案

1. Check following Stack Overflow answers (and its many duplicate links) Compiling a java program into an executable. You should find suitable tools that will allow you to create an easy to deploy form of your application, e.g. *.exe for Windows with all the necessary run-time libraries optionally included.

2. For inspiration of how such deployment might work (either run through the web browser click or easy to download/run installer) check yWorks yED. If you like their way you may send them an "share your know how" e-mail

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top