<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: What's the best Java IDE?</title>
	<link>http://ask.metafilter.com/21914/Whats-the-best-Java-IDE/</link>
	<description>Comments on Ask MetaFilter post What's the best Java IDE?</description>
	<pubDate>Sat, 30 Jul 2005 08:18:33 -0800</pubDate>
	<lastBuildDate>Sat, 30 Jul 2005 08:18:33 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: What&apos;s the best Java IDE?</title>
		<link>http://ask.metafilter.com/21914/Whats-the-best-Java-IDE</link>	
		<description>I&apos;m learning Java. Which IDE should I use?

 &lt;br /&gt;&lt;br /&gt; I will be mainly working from Win XP computers, and my most extensive programming experience (and not much at that) is with VBA, which comes with its own IDE. I&apos;ll be glad to answer any questions about the context. I may also be doing some Perl in the future, if that makes any difference.&lt;br&gt;
&lt;br&gt;
(Also, I&apos;ve found a lot of nice online tutorials, but am taking recommendations for books/websites/other resources.</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2005:site.21914</guid>
		<pubDate>Sat, 30 Jul 2005 07:59:16 -0800</pubDate>
		<dc:creator>bingo</dc:creator>
		
			<category>Java</category>
		
			<category>IDE</category>
		
	</item> <item>
		<title>By: majick</title>
		<link>http://ask.metafilter.com/21914/Whats-the-best-Java-IDE#352868</link>	
		<description>You&apos;re learning Java from scratch, have no significant programming experience, and are using Windows.  Therefore I &lt;b&gt;strongly&lt;/b&gt; suggest your very first IDE be:  &lt;tt&gt;notepad.exe&lt;/tt&gt; and &lt;tt&gt;javac&lt;/tt&gt;.&lt;br&gt;
&lt;br&gt;
After you&apos;ve learned the basics of the language and are confident with defining classes and assembling them into applications, you might want to try Eclipse or Netbeans, but you really, really should learn the language without a bunch of IDE crap in the way, first.&lt;br&gt;
&lt;br&gt;
My personal favorite of all the IDEs is Together ControlCenter (or whatever Borland is calling it now that they own the thing) but it&apos;s expensive and depends heavily on your ability to work with UML.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21914-352868</guid>
		<pubDate>Sat, 30 Jul 2005 08:18:33 -0800</pubDate>
		<dc:creator>majick</dc:creator>
	</item><item>
		<title>By: boo_radley</title>
		<link>http://ask.metafilter.com/21914/Whats-the-best-Java-IDE#352880</link>	
		<description>&lt;a href=&quot;http://www.eclipse.org/&quot;&gt;Eclipse&lt;/a&gt; or &lt;a href=&quot;http://www.jedit.org/&quot;&gt;jEdit&lt;/a&gt; are both quite good. jEdit starts off as a text editor, but gains its IDE features through the use of its extensive plugin architecture. Eclipse is the 800 lb. gorilla of java IDEs, has (or had, it&apos;s been a while since I&apos;ve used it) big support from IBM. jEdit&apos;s my editor of choice since it&apos;s pretty lightweight, and its plugins have essential functions for html that I use on a regular basis. And after previewing, they&apos;re both open source products, so you won&apos;t have to worry about wasting money.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21914-352880</guid>
		<pubDate>Sat, 30 Jul 2005 08:37:40 -0800</pubDate>
		<dc:creator>boo_radley</dc:creator>
	</item><item>
		<title>By: veedubya</title>
		<link>http://ask.metafilter.com/21914/Whats-the-best-Java-IDE#352884</link>	
		<description>jEdit and Ant.&lt;br&gt;
&lt;br&gt;
Use jEdit as your editor, and Ant as your build tool. Once you&apos;ve mastered those, you&apos;ll be a Java god.&lt;br&gt;
&lt;br&gt;
Get used to the command-line. If you&apos;re working in an environment where Perl is used, an inability to use the command-line with confidence will inevitably result in you eating lunch at the &apos;special&apos; kids&apos; table.&lt;br&gt;
&lt;br&gt;
Oh, yeah: Perl is sh*te, but if you&apos;re going to be doing anything with it, the O&apos;Reilly books (all the blue spines) are absolutely invaluable. I sometimes regret giving up on Perl, just because of the o&apos;Reilly books.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21914-352884</guid>
		<pubDate>Sat, 30 Jul 2005 08:43:43 -0800</pubDate>
		<dc:creator>veedubya</dc:creator>
	</item><item>
		<title>By: furtive</title>
		<link>http://ask.metafilter.com/21914/Whats-the-best-Java-IDE#352885</link>	
		<description>There are three camps.  The first camp, and the one that all beginners should subscribe to is the plain old text editor of your choice.  You need to learn the basics without being encumbered by the IDE. &lt;br&gt;
&lt;br&gt;
The second camp is those that use open source tools, in that respect few will argue that there is a better IDE than &lt;a href=&quot;http://eclipse.org/&quot;&gt;Eclipse&lt;/a&gt;.  It was originally open sourced by IBM as part of their Websphere Application Developer suite, and now they base their suite on the progress of Eclipse instead.  Our own &lt;a href=&quot;http://www.metafilter.com/user.mefi/21092&quot;&gt;Pookzilla&lt;/a&gt; is an IBM developer who works fulltime on developing Eclipse.&lt;br&gt;
&lt;br&gt;
The third camp are proprietary IDEs, of which there are many.  Most who&apos;ve tried them all out will agree that there is probably no better IDE out there than IntelliJ&apos;s &lt;a href=&quot;http://www.jetbrains.com/idea/ &quot;&gt;IDEA&lt;/a&gt;, which is just plain awesome.  However, it&apos;s refactoring powers and live templates are of no use to someone just learning how to write Java code, and the $400 price tag is probably the most major stumbling block.  (I can attest that at my last job, when we switched from JDeveloper to IDEA that productivity went up by at least 20% in our dev team, no shittin&apos; ya).</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21914-352885</guid>
		<pubDate>Sat, 30 Jul 2005 08:45:00 -0800</pubDate>
		<dc:creator>furtive</dc:creator>
	</item><item>
		<title>By: andrew cooke</title>
		<link>http://ask.metafilter.com/21914/Whats-the-best-Java-IDE#352889</link>	
		<description>if your previous programming experience has been with an idea, i&apos;d suggest eclipse.  it&apos;s free and widely used, so you will be using something at least vaguely similar to what you used before, it won&apos;t cost you anything, and you should be able to find support while learning.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21914-352889</guid>
		<pubDate>Sat, 30 Jul 2005 08:49:26 -0800</pubDate>
		<dc:creator>andrew cooke</dc:creator>
	</item><item>
		<title>By: Nick Jordan</title>
		<link>http://ask.metafilter.com/21914/Whats-the-best-Java-IDE#352901</link>	
		<description>I&apos;m with majick on this. You &lt;em&gt;really&lt;/em&gt; need to start with just a plain text editor and learn the language reasonably well before worrying about IDEs.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21914-352901</guid>
		<pubDate>Sat, 30 Jul 2005 09:16:04 -0800</pubDate>
		<dc:creator>Nick Jordan</dc:creator>
	</item><item>
		<title>By: veedubya</title>
		<link>http://ask.metafilter.com/21914/Whats-the-best-Java-IDE#352910</link>	
		<description>andrew cooke, I&apos;m starting to believe that we&apos;re the same person. Why are we never seen in the same room together?</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21914-352910</guid>
		<pubDate>Sat, 30 Jul 2005 09:36:33 -0800</pubDate>
		<dc:creator>veedubya</dc:creator>
	</item><item>
		<title>By: cyrusdogstar</title>
		<link>http://ask.metafilter.com/21914/Whats-the-best-Java-IDE#352912</link>	
		<description>Fourthing the &quot;use a text editor to learn the language, THEN move to using an IDE&quot; advice.&lt;br&gt;
&lt;br&gt;
However, I&apos;d say to get a programmer&apos;s text editor that can syntax highlight and auto-tab, instead of using Notepad, as trying to edit code without those two features is just painful. I don&apos;t use Windows so I cannot recommend any personally, but I hear TextPad (I think) is nice, or CrimsonEditor.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21914-352912</guid>
		<pubDate>Sat, 30 Jul 2005 09:44:37 -0800</pubDate>
		<dc:creator>cyrusdogstar</dc:creator>
	</item><item>
		<title>By: mmascolino</title>
		<link>http://ask.metafilter.com/21914/Whats-the-best-Java-IDE#352913</link>	
		<description>furtive nails it on the three camps.  You&apos;ll definitely want to avoid spending the dough right away.  The power of IDEA will be totally lost on you.  I&apos;ve always subscribed to the text editor + &lt;a href=&quot;http://ant.apache.org/&quot;&gt;Ant&lt;/a&gt; approach for beginners.  I&apos;m coming around to think that a good free IDE like Eclipse might be a better approach these days.  With that said, I still think that learning Ant as you go along is a very wise move.  If you haven&apos;t figured it out, Ant is the build tool that 99% of open source Java projects use.  Learning to automate your development tasks will make you a better programmer and keeps you from becoming a slave to your IDE.&lt;br&gt;
&lt;br&gt;
As for resources, &lt;a href=&quot;http://www.mindview.net/Books/TIJ/&quot;&gt;Thinking in Java&lt;/a&gt; is still the gold standard in learning the language in depth.  Read the book, do all the chapter-end exercises and you will learn the how and why of the language in tremendous depth.  The best part is the book is available for free online.  A word of caution, it is a big book and really only teaches the language and some of the built in libraries.  You will have to supplement this book with others to cover the area that you want to do development in (e.g. web, gui apps, etc.).</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21914-352913</guid>
		<pubDate>Sat, 30 Jul 2005 09:49:02 -0800</pubDate>
		<dc:creator>mmascolino</dc:creator>
	</item><item>
		<title>By: bingo</title>
		<link>http://ask.metafilter.com/21914/Whats-the-best-Java-IDE#352922</link>	
		<description>&lt;em&gt;However, I&apos;d say to get a programmer&apos;s text editor that can syntax highlight and auto-tab, instead of using Notepad, as trying to edit code without those two features is just painful.&lt;/em&gt;&lt;br&gt;
&lt;br&gt;
I&apos;m interested in hearing more about this from those in the &apos;learn in Notepad&apos; camp.  What&apos;s the harm of using a tool that will color-code and indent for me? Won&apos;t that help me learn the correct format? I suppose the most obvious argument is that I should learn to parse the code mentally without that help, but...won&apos;t there always be an IDE available if I need one? And won&apos;t seeing the proper indentation and color coding thousands of times help me to see the structure of what I&apos;m doing so that I can more easily recreate it properly without those tools if I need to?&lt;br&gt;
&lt;br&gt;
Excuse my obvious and admitted ignorance. Just asking.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21914-352922</guid>
		<pubDate>Sat, 30 Jul 2005 10:28:07 -0800</pubDate>
		<dc:creator>bingo</dc:creator>
	</item><item>
		<title>By: Netzapper</title>
		<link>http://ask.metafilter.com/21914/Whats-the-best-Java-IDE#352926</link>	
		<description>&lt;b&gt;bingo&lt;/b&gt;: Part of the problem with using an IDE when you start is that to do basic tasks, you generally must use the software&apos;s dialogues.  For instance, I use Eclipse as my IDE of choice.  In order to define a class, and have it integrate correctly with the build process, you *must* go through the dialogue that creates a new class.&lt;br&gt;
&lt;br&gt;
Also, if you&apos;re just doing a hundred toy problems so that you can learn the language, you&apos;re going to have the vast annoyance of having to start a new project for each one.  Depending on your IDE, this might prove very annoying.&lt;br&gt;
&lt;br&gt;
Basically, using an IDE from the get-go is likely to weigh you down with a lot of &quot;book keeping&quot;, which gets in the way of exploratory programming.&lt;br&gt;
&lt;br&gt;
I agree with the general sentiment of the notepad+javac folks.  However, I also agree that you should have font colorization and indentation.  It *does* make life much, much easier, especially when you&apos;re just starting out.&lt;br&gt;
&lt;br&gt;
I&apos;m a unix boy, so I have easy access to my favorite editor, Emacs.  I learned to program in it.  However, the Windows port of it is inelegant, and if you&apos;ve never used it before, it&apos;s almost as much of an ordeal to learn as a full-fledged IDE (although in a different way).&lt;br&gt;
&lt;br&gt;
I suggest TextPad in Windows.  It will even handle compilation and running for you, IIRC.  It has &lt;s&gt;font-lock-mode&lt;/s&gt; text colorization and automagical idententation.&lt;br&gt;
&lt;br&gt;
When you&apos;re comfortable with the language, I suggest Eclipse.  NetBeans doesn&apos;t suck, in and of itself, but its interface to the filesystem is painful at best, it runs slowly and crapily on my system, and I find that sometimes the syntax checking system flips out.  I use both of them, but for different things: Eclipse is where I write my code, while I use NetBeans for DnD interface building.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21914-352926</guid>
		<pubDate>Sat, 30 Jul 2005 10:43:58 -0800</pubDate>
		<dc:creator>Netzapper</dc:creator>
	</item><item>
		<title>By: heresiarch</title>
		<link>http://ask.metafilter.com/21914/Whats-the-best-Java-IDE#352928</link>	
		<description>While I have respect for the &quot;start with notepad/jEdit&quot; camp, I&apos;d recommend not staying there for two long. Java is an extremely verbose language, and simple things (like iterating across a collection) can be really annoying. My guess is you&apos;re going to get frustated with lots of menial tasks. When that feeling sets in, switch to Eclipse and don&apos;t look back.&lt;br&gt;
&lt;br&gt;
It takes care of tons of stuff you&apos;ll get annoyed with really quickly, like importing classes, writing getters/setters, refactoring code, extracting interfaces, casting objects coming out of collections, etc etc. Eclipse is the only reason I enjoy writing Java. If I had to do it all by hand, I&apos;d have stopped a long time ago. So don&apos;t punish yourself. You&apos;ll learn more starting that way, and it will help you appreciate Eclipse more, but don&apos;t let it become a cross you have to bear. &lt;br&gt;
&lt;br&gt;
And when you switch to Eclipse, the two keystrokes you should learn first are ctrl-. (move to next error) ctrl-1 (auto-fix error). It&apos;s awesome. Good luck!</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21914-352928</guid>
		<pubDate>Sat, 30 Jul 2005 10:51:52 -0800</pubDate>
		<dc:creator>heresiarch</dc:creator>
	</item><item>
		<title>By: andrew cooke</title>
		<link>http://ask.metafilter.com/21914/Whats-the-best-Java-IDE#352930</link>	
		<description>i think really it&apos;s just a &quot;lifestyle choice&quot; (ide or text editor).  some of us, err, more mature people started with text editors and feel that everyone should know what the ide is &quot;doing for us&quot;, but i&apos;m not sure it helps.  i&apos;ve only started using eclipse recently and find that knowing too much is dangerous. i get frustrated with the eclipse way, do a quick command line hack, and then find that i&apos;ve broken something as a result, or that i&apos;ve missed a cool eclipse feature.&lt;br&gt;
&lt;br&gt;
one day, eventually, perhaps, you should understand what eclipse is doing.  just as you should understand what mark and sweep garbage collection is, say.  but, i suspect, no more than that.&lt;br&gt;
&lt;br&gt;
of course, you can also start by learning the details.  there&apos;s nothing wrong with using a simple editor (or even a not-so simple one like emacs), but if you&apos;re learning a new language, why also choose to learn a new kind of tool?&lt;br&gt;
&lt;br&gt;
veedubya - maybe because we&apos;re on opposite sides of the world? (and shouldn&apos;t you be asleep or something? ;o)</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21914-352930</guid>
		<pubDate>Sat, 30 Jul 2005 10:59:48 -0800</pubDate>
		<dc:creator>andrew cooke</dc:creator>
	</item><item>
		<title>By: McGuillicuddy</title>
		<link>http://ask.metafilter.com/21914/Whats-the-best-Java-IDE#352932</link>	
		<description>I learned on NotePad and the command line. I tell new Java programmers to try jEdit first for the basic points bingo makes. jEdit can be as easy to use as a standard text editor and color coding and indenting can help you spot errors quicker. And I agree with heresiarch, once you get off the ground, learn to extend jEdit or pick a more robust IDE.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21914-352932</guid>
		<pubDate>Sat, 30 Jul 2005 11:18:59 -0800</pubDate>
		<dc:creator>McGuillicuddy</dc:creator>
	</item><item>
		<title>By: shaun</title>
		<link>http://ask.metafilter.com/21914/Whats-the-best-Java-IDE#352937</link>	
		<description>I taught an introduction to Java class earlier in the summer, and we used &lt;a href=&quot;http://www.drjava.org&quot;&gt;DrJava&lt;/a&gt;. It&apos;s a &quot;learning IDE&quot; designed for beginners, but I find myself using it quite often.&lt;br&gt;
&lt;br&gt;
It&apos;s a very lightweight IDE, without code completion and all of the project management stuff. What is especially neat about it is an interpreter that allows you to execute Java statements one at a time (i.e. without creating a class and a main method, etc.) and see the result instantly.&lt;br&gt;
&lt;br&gt;
I highly recommend giving it a try. It&apos;s definitely different than most of the other tools you&apos;ll see out there. Note that there&apos;s also a DrJava plugin for Eclipse, if you decide to go down that path, although I wouldn&apos;t reccomend Eclipse for someone just starting out.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21914-352937</guid>
		<pubDate>Sat, 30 Jul 2005 11:38:10 -0800</pubDate>
		<dc:creator>shaun</dc:creator>
	</item><item>
		<title>By: neilkod</title>
		<link>http://ask.metafilter.com/21914/Whats-the-best-Java-IDE#352947</link>	
		<description>what majick said.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21914-352947</guid>
		<pubDate>Sat, 30 Jul 2005 12:16:36 -0800</pubDate>
		<dc:creator>neilkod</dc:creator>
	</item><item>
		<title>By: null terminated</title>
		<link>http://ask.metafilter.com/21914/Whats-the-best-Java-IDE#352958</link>	
		<description>Try &lt;a href=&quot;http://www.jcreator.com/&quot;&gt;jcreator&lt;/a&gt;. It&apos;s the best java editor I&apos;ve seen. Fun to use, fast, clean, newer version supports Ant. They have both a free and trial version.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21914-352958</guid>
		<pubDate>Sat, 30 Jul 2005 13:03:34 -0800</pubDate>
		<dc:creator>null terminated</dc:creator>
	</item><item>
		<title>By: delmoi</title>
		<link>http://ask.metafilter.com/21914/Whats-the-best-Java-IDE#352972</link>	
		<description>&lt;i&gt;You&apos;re learning Java from scratch, have no significant programming experience, and are using Windows. Therefore I strongly suggest your very first IDE be: notepad.exe and javac.&lt;/i&gt;&lt;br&gt;
&lt;br&gt;
I totaly agree.  Java is actualy very dependant on the locations of files, etc.  And you&apos;ll want to understand how the whole CLASSPATH thing works.  The best way to do that is with a text editor (I actualy started java programming with  MSDOS edit back in the day, since you could have multiple files open, unlike notepad :P)&lt;br&gt;
&lt;br&gt;
But a tool that does color coding and code completion is helpfull.  I sometimes use JBuilder to edit while still compiling and running from the command line.&lt;br&gt;
&lt;br&gt;
I also agree with everyone who recommends eclipse.  I&apos;m stuck with Jbuilder because eclipse does code completion just &lt;i&gt;slightly&lt;/i&gt; diffrently and it drives me nuts! But eclipse (and new versions of it) will always be free</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21914-352972</guid>
		<pubDate>Sat, 30 Jul 2005 14:09:14 -0800</pubDate>
		<dc:creator>delmoi</dc:creator>
	</item><item>
		<title>By: bingo</title>
		<link>http://ask.metafilter.com/21914/Whats-the-best-Java-IDE#352974</link>	
		<description>I&apos;m going to cheat a little and ask about a related error while all you java people are here paying attention:&lt;br&gt;
&lt;br&gt;
&quot;Error: cannot access java.lang.Object&lt;br&gt;
bad class file: C:\Program Files\Java\jre1.5.0_04\lib\rt.jar(java/lang/Object.class)&lt;br&gt;
class file has wrong version 49.0, should be 48.0&lt;br&gt;
Please remove or make sure it appears in the correct subdirectory of the classpath.&quot;&lt;br&gt;
&lt;br&gt;
I have found a number of forum discussions by googling, but so far nothing that I understand well enough to try implementing it. I am all for figuring out problems by myself, but this strikes me as the kind of thing that it&apos;s ok to ask more experienced people for help with.&lt;br&gt;
&lt;br&gt;
I should mention that this error occurred within an IDE. When compile with javac  on the command line, I don&apos;t get this error.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21914-352974</guid>
		<pubDate>Sat, 30 Jul 2005 14:13:28 -0800</pubDate>
		<dc:creator>bingo</dc:creator>
	</item><item>
		<title>By: bingo</title>
		<link>http://ask.metafilter.com/21914/Whats-the-best-Java-IDE#352977</link>	
		<description>...and maybe that&apos;s an argument for using Notepad.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21914-352977</guid>
		<pubDate>Sat, 30 Jul 2005 14:14:37 -0800</pubDate>
		<dc:creator>bingo</dc:creator>
	</item><item>
		<title>By: andrew cooke</title>
		<link>http://ask.metafilter.com/21914/Whats-the-best-Java-IDE#352988</link>	
		<description>looks like you&apos;re trying to use class files compiled with java 5 with an earlier version of java.  check that the java compiler the IDE is using is below C:\Program Files\Java\jre1.5.0_04&lt;br&gt;
&lt;br&gt;
it&apos;s explained in more detail &lt;a href=&quot;http://forum.java.sun.com/thread.jspa?threadID=517933&amp;start=0&amp;tstart=0&quot;&gt;here&lt;/a&gt;</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21914-352988</guid>
		<pubDate>Sat, 30 Jul 2005 15:08:42 -0800</pubDate>
		<dc:creator>andrew cooke</dc:creator>
	</item><item>
		<title>By: andrew cooke</title>
		<link>http://ask.metafilter.com/21914/Whats-the-best-Java-IDE#352990</link>	
		<description>sorry, reading the link i gave myself, it seems that the problem is most likely that when you run something you&apos;ve compiled, you&apos;re using an old (1.4) version of java (i thought your error was one on compilation, but it looks like it happens when you try to execute the compiled code).&lt;br&gt;
&lt;br&gt;
so &quot;java&quot; at your command line is 1.4, but &quot;java&quot; in the ide is 1.5.&lt;br&gt;
&lt;br&gt;
what does &quot;java -version&quot; say?  if it doesn&apos;t say 1.5 that&apos;s your problem.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21914-352990</guid>
		<pubDate>Sat, 30 Jul 2005 15:12:02 -0800</pubDate>
		<dc:creator>andrew cooke</dc:creator>
	</item><item>
		<title>By: bingo</title>
		<link>http://ask.metafilter.com/21914/Whats-the-best-Java-IDE#352997</link>	
		<description>It says 1.5.0_04-b05.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21914-352997</guid>
		<pubDate>Sat, 30 Jul 2005 15:29:49 -0800</pubDate>
		<dc:creator>bingo</dc:creator>
	</item><item>
		<title>By: andrew cooke</title>
		<link>http://ask.metafilter.com/21914/Whats-the-best-Java-IDE#353000</link>	
		<description>oh.  so exactly when does the error occur?</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21914-353000</guid>
		<pubDate>Sat, 30 Jul 2005 15:43:52 -0800</pubDate>
		<dc:creator>andrew cooke</dc:creator>
	</item><item>
		<title>By: bingo</title>
		<link>http://ask.metafilter.com/21914/Whats-the-best-Java-IDE#353002</link>	
		<description>When I&apos;m trying to compile my &apos;hello world&apos; program in the IDE. The same program compiled fine with Notepad and javac on the command line.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21914-353002</guid>
		<pubDate>Sat, 30 Jul 2005 15:47:14 -0800</pubDate>
		<dc:creator>bingo</dc:creator>
	</item><item>
		<title>By: andrew cooke</title>
		<link>http://ask.metafilter.com/21914/Whats-the-best-Java-IDE#353007</link>	
		<description>ok, so it looks like the compiler in your ide is 1.4, but it&apos;s using 1.5 classes from somewhere.  you need to tall your ide to use the same java you are using.  it probably came with an old java version (1.5 is pretty new).  somewhere there will be an option that tells your ide what java compiler (javac) to use - it should point to the one at C:\Program Files\Java\jre1.5.0_04</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21914-353007</guid>
		<pubDate>Sat, 30 Jul 2005 16:05:22 -0800</pubDate>
		<dc:creator>andrew cooke</dc:creator>
	</item><item>
		<title>By: bingo</title>
		<link>http://ask.metafilter.com/21914/Whats-the-best-Java-IDE#353020</link>	
		<description>But the SDK I downloaded from Sun is at C:\j2sdk1.4.2_08. Did I put it in the wrong place? I thought it didn&apos;t matter as long as I added it to the path (which I did). &lt;br&gt;
&lt;br&gt;
The IDE in question is DrJava (as recommended by shaun...don&apos;t be offended, anyone, I&apos;m going to have a look at every suggestion, this is just the one I tried first), and I looked through the config menus but I don&apos;t see a way to change the directory where it looks for the compiler. There is a place to tell it where to look for tools.jar, and I gave it C:\j2sdk1.4.2_08\lib\tools.jar.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21914-353020</guid>
		<pubDate>Sat, 30 Jul 2005 16:38:48 -0800</pubDate>
		<dc:creator>bingo</dc:creator>
	</item><item>
		<title>By: andrew cooke</title>
		<link>http://ask.metafilter.com/21914/Whats-the-best-Java-IDE#353032</link>	
		<description>you have two different javas on your machine.  at C:\Program Files\Java\jre1.5.0_04 you have the 1.5 runtime.  you probably downloaded that some time back (or it was installed by another program).  from the directory name it&apos;s just the jre (the &quot;runtime&quot;).  the jre is enough to run java programs, but not enough to compile them.&lt;br&gt;
&lt;br&gt;
the java you downloaded from sun is version 1.4, and that&apos;s the full development kit (what you need to compile java programs as well as run them).&lt;br&gt;
&lt;br&gt;
you&apos;re on windows?  one simple solution to this would be to uninstall that one (1.4, via control panel) and download/install the 1.5 development kit.  you can get it from &lt;a href=&quot;http://java.sun.com/j2se/1.5.0/download.jsp&quot;&gt;here&lt;/a&gt; (follow the link in the JDK section).&lt;br&gt;
&lt;br&gt;
otherwise, you need to look at why the ide is getting confused.  you probably have CLASSPATH or JAVA_HOME or something similar defined somewhere (system properties?) that refers to the 1.5 version java, and that&apos;s confusing the ide.&lt;br&gt;
&lt;br&gt;
sorry, it shouldn&apos;t be this hard!</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21914-353032</guid>
		<pubDate>Sat, 30 Jul 2005 17:46:19 -0800</pubDate>
		<dc:creator>andrew cooke</dc:creator>
	</item><item>
		<title>By: andrew cooke</title>
		<link>http://ask.metafilter.com/21914/Whats-the-best-Java-IDE#353034</link>	
		<description>if that wasn&apos;t clear - you want everything using the same version of java.  at the moment you have two versions and they are getting mixed up in the ide.&lt;br&gt;
&lt;br&gt;
so you either need to work out why the ide is confused, or just make sure your machine only has one version present.&lt;br&gt;
&lt;br&gt;
and, to make things more complicated, that version has to be the full development kit.  the jre alone isn&apos;t enough to develop code.&lt;br&gt;
&lt;br&gt;
but there should be no problems installing the 1.5 development kit (jdk) in parallel with the 1.5 jre you already have. they should be able to live together.  i hope.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21914-353034</guid>
		<pubDate>Sat, 30 Jul 2005 17:50:16 -0800</pubDate>
		<dc:creator>andrew cooke</dc:creator>
	</item><item>
		<title>By: delmoi</title>
		<link>http://ask.metafilter.com/21914/Whats-the-best-Java-IDE#353046</link>	
		<description>bingo: Simple solution: Uninstall &lt;b&gt;everything&lt;/b&gt; and then reinstall your IDE and JDK. I&apos;d say to install the JDK first, and make sure to get the latest versions.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21914-353046</guid>
		<pubDate>Sat, 30 Jul 2005 18:46:49 -0800</pubDate>
		<dc:creator>delmoi</dc:creator>
	</item><item>
		<title>By: furtive</title>
		<link>http://ask.metafilter.com/21914/Whats-the-best-Java-IDE#353050</link>	
		<description>Hehe, the derail in this thread is the exact reason why people should start with a text editor.  Of course I didn&apos;t specify which one they should start with because everyone has their favourite, but at a minimum it should have some syntax highlighting and allow for multiple buffers (I&apos;m a big SciTe fan myself but I also recommend UltraEdit or Vim).</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21914-353050</guid>
		<pubDate>Sat, 30 Jul 2005 18:53:50 -0800</pubDate>
		<dc:creator>furtive</dc:creator>
	</item><item>
		<title>By: andrew cooke</title>
		<link>http://ask.metafilter.com/21914/Whats-the-best-Java-IDE#353062</link>	
		<description>hope you got that sorted.  i&apos;m off to bed.&lt;br&gt;
&lt;br&gt;
furtive - having two different versions installed is a recipe for disaster however you work.  it&apos;s easy to think of counter examples where an ide would have looked better (netbeans downloads with the jdk, so would no doubt have worked fine; at some point he would have had problems at the command line).  yet people invariably think that the way they are used to doing things is best.  shrug.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21914-353062</guid>
		<pubDate>Sat, 30 Jul 2005 20:06:14 -0800</pubDate>
		<dc:creator>andrew cooke</dc:creator>
	</item><item>
		<title>By: bingo</title>
		<link>http://ask.metafilter.com/21914/Whats-the-best-Java-IDE#353084</link>	
		<description>I reinstalled everything, but DrJava doesn&apos;t like the new tools.jar file, so I think I&apos;m going to forget DrJava from now and use the command line while trying out various suggestions above.  And I have already started reading Thinking In Java on mmasculino&apos;s rec. Thanks to all who have answered.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21914-353084</guid>
		<pubDate>Sat, 30 Jul 2005 21:00:48 -0800</pubDate>
		<dc:creator>bingo</dc:creator>
	</item>
	</channel>
</rss>
