开发者

cygwin programming [closed]

开发者_C百科 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

how do you compile java progrmas in cygwin?


With javac, as normal - alternatively using something like Ant which works under cygwin, with some caveats.

The fact that you're asking the question suggests you've had problems - could you explain what you've tried and what went wrong?


Maven works also right out of the box. Cygwin & mintty combo rocks compared to windows cmd.

When running java-programs from cygwin you should remember that java-command is in windows, so it requires windows paths to jars. More info: http://www.inonit.com/cygwin/faq/.


The same way as you would using a "normal" Windows shell.


You can compile individual class files with the javac command. If you have an existing project, it likely has a build.xml, pom.xml, or Makefile, in which case you need to run ant, mvn, or make respectively.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜