Is anyone using Jruby in emacs? I have setup emacs and it works perfectly for ruby code using jruby. However notice that java code isn't executing from within emacs. I have installed mode-compile and all my code except for java in jruby.
Been searching options for Java and of course found JDEE, noticed in a previous java specific thread however concerns with JDEE What is the best way to do Java development in Emacs? age/not developed/works only for Java5 etc.
I found another emacs how-to http://zarb.org/~gc/html/java-emacs.html noted the date it was posted was 2005 and the author advised to use Eclipse for Java.
Has anybody got suggestion on using Jruby in emacs?
Malabar-mode is the only real alternative to JDEE(especially for Maven based projects). I'm not sure how it will fit into your JRuby development toolchain, though. Another more general solution would plain old java-mode + CEDET + emacs code browser.
Related
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!
I have been developing Java code for doing data analysis in astronomy and physical sciences for several years using xemacs and JDE, which I have grown accustomed to and like. However, I would like to use all the wonderful features included in Xcode to make my coding easier and better.
I know that Apple encourages developing in objective C, but I don't have the time or motivation to start with this at this time. I know Java pretty well, and therefore, I want to stick with it, as least for now.
After several hours of searching the web, I haven't been able to find any decent instructions on how to setup and use Xcode under Mountain Lion or Mavericks to develop Java code. And I don't really care about all the features that are related to developing application for OS X or iOS, I am coding libraries of classes to do statistical data analysis. I just want a nice IDE to do it in, and I don't really like the look and feel of Eclipse, which is the standard for Java.
So, in the end, my question is very simple, but I cannot find the answer by googling: how does one develop in Java using Xcode5?
XCode did previously support java development but that was removed when Apple decided to stop supporting Java on OS X.
Either you need an old version of XCode, or you should go - which I would recommend you to do - with a Java IDE like Netbeans! eclipse and/or IntelliJ. After installing oracle java 7, all of them run well.
What type of developer are each of these IDEs aimed at? Is one IDE a superset/subset of the other? What can I do using one and not the other?
I'm looking to do mostly desktop based (Windows) work for now so I believe I am correct in ignoring the Java EE download and focusing on these two.
The comparison of features page isn't helpful as I'm still new to Eclipse and Java. For example "Code Recommenders Developer Tools" means nothing to me yet.
Eclipse standard has been downloaded 1.7 million times and is 246MB (as at 7-Sep-13). While Eclipse IDE for Java developers has been downloaded 430,000 times and is 151MB.
So I'm guessing Eclipse Standard is the way to go, but why do they offer the second option?
All the other answers are more or less true, but miss the point (in my opinion), The download page states it clearly:
Eclipse Standard ...
The Eclipse Platform, and all the tools needed to develop and debug it
versus
Eclipse IDE for Java Developers ...
The essential tools for any Java developer, including a Java IDE, a CVS client, Git client, XML Editor, Mylyn, Maven integration...
So if your focus is to develop for Eclipse itself, the Eclipse Standard includes all what you need (including the sources of all features and plugins).
If your focus is Java development (not Eclipse plugins), you should start with the Eclipse IDE for Java Developers.
If your focus is Java EE development, it is simpler to start with Eclipse IDE for Java EE Developers and so forth ...
The comparison page could certainly use some links, nevertheless a quick web search will tell you all about those plugin.
For your needs, you might look into the "for Java Developers" package, as it contains WindowBuilder, which let's you define GUIs visually in several frameworks.
(Code Recommenders is also nice, but I've personally found it a bit hit-or-miss)
However, you're fine installing any of the packages either way, since you can always install the plugins you need later on. My recommendation is to simply read about those plugins and make an informed decision on what you should install.
If you're doing GUI work then you might choose the Java Developers package as it comes with WindowBuilder.
Other similar questions are:
https://stackoverflow.com/questions/7835305/what-are-my-options-for-developing-a-gui-in-java-in-eclipse
Best GUI designer for eclipse?
Create GUI using Eclipse (Java)
The difference between the eclipse downloads are just the pre-installed plug-ins.
I'd go with standard and install the plug-ims i want, but take what fits you.
I am currently developing a plugin for ImageJ, it's based on Java. I am not familiar with Java much since I used to be a C/C++ developer. It seems that debugging java program has a lot of differences comparing using GDB/GUD in emacs. I know I can use Eclipse to deal with the debug but I just don't want to waste my time on learning another IDE. Thank you very much for your thoughts!
Have you tried JDEE for Emacs?
If you are planning on doing Java for more than a week I really advise you to use eclipse or netbeans. Yes it is a new IDE. But the advantages of this type of IDE for Java are immense.
As a long time user of Visual Studio, I feel comfortable using this as my primary IDE for editing code (I primarily code in C#/ASP.NET). Lately I've been looking more in depth into the Google Web Toolkit (or GWT) as a potential tool for building rapid web client tools for the web. I would therefore like to know whether it is possible to edit Java syntax, and otherwise set Visual Studio up to built web applications for GWT?
The option i m using is using Eclipse with an IntelliJ Idea key mapping ( i m a resharper fan and I miss it)
Another option is take the plunge and get IntelliJ Idea, its a fantastic IDE and it was really easy to get used to it, it has some nice pluggins for GWT development too
Cheers
What is Visual Studio's support for Java like, I assuming that its GWT support is not as good. ;)
I think you are better off using an IDE which actually supports GWT.
You could have a look at http://www.jetbrains.com/idea/features/gwt.html The demo is rather old (from 2006) but if you haven't seen IntelliJ it might be interesting.
Visual Studio used to be the best Java IDE in the 90's.
Since then much better alternatives came out.
The 3 most commonly used right now are:
Eclipse
NetBeans
IntelliJ.
Microsoft stopped supporting Java development a long time ago. At that time Java was still at 1.3. With Java 1.5 the language was extended with generics and other constructs that Visual Studio will certainly not support.
If you manage to use Visual Studio for Java (or maybe J# could work?), integrate Maven in it and then use the maven gwt plugin to translate the java to ajax, it shoooould be possible.
But this is just an idea, would probably take a lot of efford, if it works at all.