문제

I created a Java application. I'm trying to use Launch4j to wrap the JAR file in a EXE file.

But Launch4j won't make the EXE unless I tell it the minimum JRE version required, in this exact format: x.x.x[_xx].

How can I get this full-format name of a version of Java? Thanks

도움이 되었습니까?

해결책

Run java with the -version parameter;

> java -version
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top