Solved

Free Java Compiler?

Posted on 2003-11-18
12
1,063 Views
Last Modified: 2010-04-06
Does there exist a free Java compiler program that I can download from the internet?  If so, where?

I don't know how to program in Java, but I want to use some sample applets on my website.  I have the code, but I guess I need a compiler to convert the code into something a web browser would recognize???

If I'm off the mark, please let me know.  Thanks in advance.
0
Comment
Question by:Melvyne
  • 5
  • 2
  • 2
  • +2
12 Comments
 
LVL 1

Expert Comment

by:umangjoshi
Comment Utility
Please visit following address to download java development kit (compiler with it)

http://java.sun.com/j2se/1.4.2/download.html
0
 
LVL 15

Expert Comment

by:jimmack
Comment Utility
?

The JDK from Sun is free.

http://java.sun.com/j2se/downloads.html

Have a look at the tutorials there too:

http://developer.java.sun.com/developer/onlineTraining/

Specifically this one for Java newbies:

http://java.sun.com/docs/books/tutorial/
0
 
LVL 15

Expert Comment

by:jimmack
Comment Utility
;-)
0
 
LVL 17

Expert Comment

by:dorward
Comment Utility
Alternatives to the Sun Java SDK are offerings from:

* IBM - http://www-106.ibm.com/developerworks/java/jdk/index.html
* Blackdown - http://www.blackdown.org/
* GNU - http://gcc.gnu.org/java/
0
 

Author Comment

by:Melvyne
Comment Utility
Jimmack,
Have you used this free download from Sun before?  If so, what is the process to enter in applet source code that I found on the internet.  I can open the embedded examples this download, but I can't seem to find the blank screen to paste source code.  (of course I haven't read the instructions yet); I thought you might know of a short cut before I begin reading.  Thanks.
0
 
LVL 17

Expert Comment

by:dorward
Comment Utility
Blank screen? You put the source code in a text file, save it, then run javac on it.
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 15

Expert Comment

by:jimmack
Comment Utility
Just use Notepad or another text editor (but not Wordpad).
0
 

Author Comment

by:Melvyne
Comment Utility
I guess what I'm saying is this...

I downloaded the file at http://java.sun.com/j2se/1.4.2/download.html as given above.  I installed the application which was called NetBeans IDE onto my PC.  I don't see anything that says Javac or anything that will compile a notepad text file.  

I haven't programmed in a while and the "old" C compilers I'm used to had a blank screen to input or paste text into and then compile.

Thanks again.  
0
 
LVL 1

Expert Comment

by:dcr25568
Comment Utility
You should try eclipse.  It has a full IDE that I think you will find helpful.

You can create a project then cut and paste your notepad code into the project.  I think its probably one of the best free IDEs for java out there.

http://www.eclipse.org/downloads/index.php

0
 
LVL 1

Expert Comment

by:dcr25568
Comment Utility
Eclipse will allow you to create applets as well..  Since you already have the applet code, this should take you no time to create.

Doug
0
 
LVL 15

Accepted Solution

by:
jimmack earned 70 total points
Comment Utility
If you've already got Netbeans, you don't need to get Eclipse, it's just another IDE.

Have a look on the Netbeans site for help using it:

http://www.netbeans.org/kb/

Also have a look within Netbeans itself.  Go to Help | Contents, then select Getting Started.
0
 
LVL 15

Expert Comment

by:jimmack
Comment Utility
;-)  Thanx.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

This article covers the basics of the Sass, which is a CSS extension language. You will learn about variables, mixins, and nesting.
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now