문제

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