there is no means or ways of using java commands to transform .java files into .exe files.but there are some other methods to do that. for example, you can use JBuilder to generate .exe files although those files are still JVM dependent. you can use jar command to generate .jar files although it doesn't look as good as it claims.if you want to know more about these things, you can search the forum with your topic and you will find a lot of posts related to that.
you can use jar command to generate .jar files although it doesn't look as good as it claims.if you want to know more about these things, you can search the forum with your topic and you will find a lot of posts related to that.
如果你还没有设置环境变量,就直接进入你装JDK的lib里执行/注意你的Yourfile.java也要在里面。(是在DOS下执行的)