开发者

Build an eclipse project from console without ant

开发者 https://www.devze.com 2023-03-10 16:04 出处:网络
I got an eclipse project which h开发者_如何转开发as more than 10 packages. I need to build it to run in an environment where there is no ant.

I got an eclipse project which h开发者_如何转开发as more than 10 packages. I need to build it to run in an environment where there is no ant.

Please provide me some support.

Thanks.


Use javac

http://download.oracle.com/javase/1.4.2/docs/tooldocs/windows/javac.html


You don't need ant to run a java program.

Although, you do need a java runtime (JRE).

For that, you can export binaries produced by Eclispe as a .jar file.

File->Export->Jar File.

0

精彩评论

暂无评论...
验证码 换一张
取 消