简体   繁体   中英

Is it possible to edit, compile and run Java code in Xcode?

I am using Java for my CS class at school, and I am currently using IntelliJ IDEA as my IDE. Along with this, I am using C++ for my personal projects/college course. Is there any way to edit, compile, and run Java in Xcode so I don't have to switch IDEs?

My current Xcode version is Xcode 8.0 (8A218a). I would like to run using Java 1.8.*.

When I was in school, I attempted to do the same exact thing and I found that it took too much time compiling my Java code in Xcode, switching to my terminal to execute the executable, etc. In short, if you enjoy using Xcode, feel free to use it as a text editor but you won't get much use out of it beyond that using Java.

Not to mention, if you decide to pursue a career as a Java Developer, you're far better off mastering an IDE such as IntelliJ or Eclipse; most companies if not all use them. Good luck!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM