LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-04-2004, 09:47 AM   #1
pelegk2
LQ Newbie
 
Registered: Sep 2004
Location: Israel the holy land
Posts: 19

Rep: Reputation: 0
compile and run java


do i need to install the j2sdk or the j2re so i can develope on the java virtual machine?
 
Old 10-04-2004, 10:11 AM   #2
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
download the appropriate version of j2sdk (either linux or windows or other platform) from http://java.sun.com and follow the instructions given to install it.

Last edited by vharishankar; 10-04-2004 at 10:13 AM.
 
Old 10-04-2004, 11:15 AM   #3
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Yep, as their name implies:
j2re = java 2 runtime environment (allow to run java applications/applets)
j2sdk = java 2 software development kit (allow to develop and run java apps)
 
Old 10-05-2004, 09:28 AM   #4
student04
Member
 
Registered: Jan 2004
Location: USA
Distribution: macOS, OpenBSD
Posts: 669

Rep: Reputation: 34
make sure you don't end up with my problem: http://www.linuxquestions.org/questi...hreadid=238483

with the java and javac binaries not correctly being changed after installing the sdk and jre
 
  


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
How to compile and run a java program in linux !!!! jmax24 Programming 7 08-06-2010 03:56 AM
Java Programming: Java Runtime Environment not found when trying to compile murbz Linux - Software 2 03-26-2009 03:04 AM
Compile Java - .class, .java, .jar ? woranl Programming 2 11-09-2004 10:12 PM
Compile and run java in Linux Redhat medeluckiest Linux - Newbie 1 03-15-2004 09:03 AM
Java applets run fine in Konqueror, but won't run in MS IE. OAnimal Linux - Software 7 12-04-2002 06:32 AM

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

All times are GMT -5. The time now is 05:29 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