Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

javac download for Servlets

 
Eric Racin
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am upgrading a Serlvet developed in JBuilder. I started using Eclipse (but realized what a pain learning that IDE proved to be!), and now have decided just to use javac and work out the bugs myself.
In Tomcat 7, they have the ecj-4.4.jar, which is supposed to contain the Eclipse JDT compiler: does that contain javac.exe? I thought I could just download it, but can't find a good site for that.
 
J. Kevin Robbins
Bartender
Posts: 1801
28
Chrome Eclipse IDE Firefox Browser jQuery Linux MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here you go. You want the JDK. Version 8 is the latest, but many people are still on 7 or 6. What you need depends on what version is running on your production web server. It's a good idea to hold off on the IDE for now. Learn to use a text editor and the command line compiler first. The IDE can come later.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65535
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Note: javac is completely independent of whether you are writing servlets or not.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yep! IDEs cause a lot of trouble in my opinion.

A good programmer's text editor that understands Java syntax - I use UltraEdit, and ANT for automating builds is all you need.

Bill
 
Eric Racin
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the JDK link. But one question: It looks like the JDK download link will have version 8 of Java. Since I want to use Tomcat v7.0, don't I need to get v6 of the javac compiler? And if so, where do I get v6 for javac?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!