LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-22-2012, 12:27 AM   #1
dreadl0rd
LQ Newbie
 
Registered: Oct 2012
Posts: 3

Rep: Reputation: Disabled
Smile Java Compiler. Jre and JDE .? Eclipse? Help meout


hey there,

I downloaded Eclipse for Java so that I can learn programming.

I have linux mint 7(Gloria). The problem is, I dono how to and where to program. Like, what is the compiler? like for cand c++ we get a page where we type in our program and compile them, I cant find anything like that on the eclipse. I create a new project, it gets created but I cannot type anywhere, Please help me out here.

I can use terminal for Java? untill I fix it?

Please explain me JRE and JDE. WHat is the difference and what are they? briefly? Thanks a ton

Sorry, I am too naive.
 
Old 10-22-2012, 06:22 PM   #2
CTech
LQ Newbie
 
Registered: Aug 2012
Location: TN
Distribution: Ubuntu
Posts: 17
Blog Entries: 1

Rep: Reputation: 0
Yes you can use terminal to compile. You use the commands javac and java. javac will compile your .java files into a .class file. You can then run .class files with java. If you make a jar file you must type "java -jar [filename]" to run it. Eclipse should have created a default workspace for you though. There your project files can be viewed. Each folder contains a bin folder and source folder. The bin folder contains compiled versions. The source is just java files. I hope this helps you some. The JRE consists of the Java Virtual Machine, the Java libraries, and all other components necessary to run Java applications and applets. The JDE is a package which is for the development of Java applications. JDE ties into your IDE to give syntax highlighting and the ability to build skeletons.

Last edited by CTech; 10-22-2012 at 06:26 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Java Woes: A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available ... chytraeus Slackware 10 11-27-2010 10:04 AM
Eclipse compiler (Java) won't make a new class (e.g.) eschrock Linux - Software 0 12-13-2009 07:02 PM
problem with gcj java compiler and eclipse ! eerpini Fedora 1 05-05-2007 05:09 PM
Java:emacs,Sdk,jde naima Programming 7 06-02-2002 03:52 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration