"hello world"자바 프로그램을 만들고 lauch4j를 사용하여 실행 가능한 jar 파일을 .exe 파일로 변환했습니다. cmd에서 실행하려고했지만 아무 것도 출력되지 않았습니다. 또한 launch4j에서 실행하려고했습니다. 로그 표시 : 실행 중 : C : \ Documents and Settings \ cnbq84 \ Desktop \ helloworld.exe. 그러나 여전히 "안녕하세요 세상"은 표시되지 않습니다.lauch4j hello world program
"Hello World"메시지를 표시하는 방법은 무엇입니까?
<launch4jConfig>
<dontWrapJar>false</dontWrapJar>
<headerType>gui|console</headerType>
<jar>C:\Documents and Settings\cnbq84\Desktop\helloworld.jar</jar>
<outfile>C:\Documents and Settings\cnbq84\Desktop\helloworld.exe</outfile>
<errTitle></errTitle>
<cmdLine></cmdLine>
<chdir></chdir>
<priority>normal</priority>
<downloadUrl>http://java.com/download</downloadUrl>
<supportUrl></supportUrl>
<customProcName>false</customProcName>
<stayAlive>false</stayAlive>
<manifest></manifest>
<icon></icon>
<jre>
<path>PATH</path>
<minVersion>1.4.0</minVersion>
<maxVersion></maxVersion>
<jdkPreference>preferJre</jdkPreference>
</jre>
</launch4jConfig>
나는 그렇게했다. 하지만 여전히 cmd를 실행할 때 : helloworld.exe 콘솔에 출력이 없습니다 – Lily
잘못된 콘솔입니다. 이 참조는 도구가 생성하는 exe가 아닙니다. 자세한 자습서는 – Clint