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 06-24-2001, 12:03 AM   #1
athenerx
Member
 
Registered: Jun 2001
Location: miami
Distribution: mandrake
Posts: 126

Rep: Reputation: 15
java compiler


can anyone please tell me where can I download a java compiler.
I used to have jbuilder when I was using windows operating system.
 
Old 06-24-2001, 06:19 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
For the Linux ports of Sun's JDK/JSE have a look at http://www.blackdown.org/

HTH

Jamie...
 
Old 06-26-2001, 07:48 PM   #3
oulevon
Member
 
Registered: Feb 2001
Location: Boston, USA
Distribution: Slackware
Posts: 438

Rep: Reputation: 30
I use the jdk from Sun. They seemed to have the more up to date versions.
 
Old 07-03-2001, 02:01 PM   #4
GOLDF1NG3R
LQ Newbie
 
Registered: Jul 2001
Location: UK
Distribution: RH 7.1
Posts: 24

Rep: Reputation: 15
Jikes

You should have a look at the IBM Jikes compiler. I have used various Java compilers and this is by far the quickest.

it can be downloaded form the location below:

http://alphaworks.ibm.com/aw.nsf/tec...2?OpenDocument
 
Old 07-16-2003, 01:27 AM   #5
mhchavez99
LQ Newbie
 
Registered: Jun 2003
Location: Lawrence, KS
Distribution: Mandrake9.1
Posts: 18

Rep: Reputation: 0
If you are used to using JBuilder you're going to wan't an IDE. Once you've istalled the JDK from sun or Blackdown get Sun One Studio 4. The community edition is free. You can get it at the location below but you must register first.

http://jsecom15.sun.com/ECom/EComAct...MLoadBalanced=
 
Old 07-22-2003, 09:42 AM   #6
Eros_
LQ Newbie
 
Registered: Jul 2003
Distribution: Slackware 9.0 GNOME
Posts: 27

Rep: Reputation: 15
I have install jikes...
So how do i go about creating a new .java file and compiling it?
 
Old 07-28-2003, 03:46 AM   #7
moeminhtun
Member
 
Registered: Dec 2002
Location: Singapore
Distribution: Fedora Core 6
Posts: 647

Rep: Reputation: 30
If you used JBuilder on Windows before, then why not still use JBuilder on Linux.
There is "JBuilder personal edition" for linux which u can freely download from

http://www.borland.com/products/down..._jbuilder.html





Quote:
Originally posted by mhchavez99
If you are used to using JBuilder you're going to wan't an IDE. Once you've istalled the JDK from sun or Blackdown get Sun One Studio 4. The community edition is free. You can get it at the location below but you must register first.

http://jsecom15.sun.com/ECom/EComAct...MLoadBalanced=
Sun One Studio 4 Community edition no longer exists. Sun droped it.
But you still can use "Netbeans" which is almost the same as Sun one community edition.

Last edited by moeminhtun; 07-28-2003 at 04:27 AM.
 
Old 02-17-2004, 12:03 PM   #8
hechtd
LQ Newbie
 
Registered: Jan 2004
Posts: 2

Rep: Reputation: 0
Unhappy

(I hope that this is the right place to ask this) I have installed the J2RE-1_4_1_07? ver of Java for Netscape and Mozilla (in RH 9.0) and still can't get either brower to reconignise it. I put in in the "Plug-in's" folder and installed it free. What am I doing wrong?

Thanks

Last edited by hechtd; 02-17-2004 at 01:29 PM.
 
Old 02-18-2004, 07:15 PM   #9
J.Q. Monkey
Member
 
Registered: Jan 2004
Location: Ho-Town, MI
Distribution: RH9
Posts: 34

Rep: Reputation: 15
I guess I'll be the jack*ss to point out there is no java compiler....
 
Old 02-18-2004, 07:23 PM   #10
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Quote:
Originally posted by J.Q. Monkey
I guess I'll be the jack*ss to point out there is no java compiler....
I have to say that you are actually wrong. Java is a half-interpreted and half-compiled language. Some compilers now can compile Java to machine code. GCJ is an example of it. Although, GCJ won't compile anything that uses Swing (or any other graphical classes) included in Java it works just fine. So, there really are java compilers around....
 
Old 02-18-2004, 07:28 PM   #11
J.Q. Monkey
Member
 
Registered: Jan 2004
Location: Ho-Town, MI
Distribution: RH9
Posts: 34

Rep: Reputation: 15
I stand corrected then. I haven't played with Java since my first year programming classes and I know my school uses an interpreter. Being the fool I am I believed the instructors when they said thats all Java could use. For as much money as I pay they should know what they are talking about.

When will I learn?
 
Old 02-18-2004, 07:31 PM   #12
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
If it makes you feel any better, I've just finished my Java class and it was pretty expensive, and I had to work and study at the same time, since I'm married and have a kid . And my teachers never pointed out that java could actually be compiled into machine code . I've found it out in this forum, and it really can be done. I'm with you J.Q. Monkey, I wonder how those guys can be promoted into a teacher/instructor... whatever
 
Old 02-19-2004, 05:46 PM   #13
hechtd
LQ Newbie
 
Registered: Jan 2004
Posts: 2

Rep: Reputation: 0
Thank all of you for the responses, J.Q. I don't consider you to be a J@ck@ss, however, I still have a problem, how do I get netscape @ mozilla to recognize the Java Plug-in that I put on my machine?
(I'm trying to figure out a way to get Yahoo games to run with the browers)

I have also been looking for answers all over..

Thanks

Hechtd
 
Old 02-19-2004, 10:22 PM   #14
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Here is where you get the Java plugin:

http://java.sun.com/products/archive/j2se/1.3.0_01/jre/

here is how you install it:

http://java.sun.com/products/archive...all-linux.html

I did everything as it supposed to do there with Firefox, but I could never get it to work . I wish you luck though
 
Old 02-21-2004, 01:33 PM   #15
german
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Debian etch, Gentoo
Posts: 312

Rep: Reputation: 30
if you're using a recent version of Mozilla you need at least 1.4.2 for it to work. Then, assuming the following:
1) you are root or can write to the mozilla plugins folder
2) java is installed at /usr/java/j2sdk1.4.2_02
3) mozilla is installed at /usr/local/mozilla
4) you have gcc 3.2.x

just type:

ln -s /usr/java/j2sdk1.4.2_02/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/local/mozilla/plugins

restart mozilla and enter "about:plugins" in the address bar, and look for the Java plugin... if it's there it works... if you are using a prior version of gcc (check with gcc --version) then use the plugin .so file in .../plugin/i386/ns610 instead. I have this working on the firefox nightly from Feb. 17th.

HTH

B.
 
  


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
Java Compiler TGWDNGHN Linux - Software 0 12-02-2005 03:19 PM
java compiler asilentmurmur SUSE / openSUSE 5 08-14-2005 10:55 PM
Java compiler. Where to get? Arild2 Linux - Software 3 11-07-2004 11:56 AM
Java c compiler corbis_demon Linux - Newbie 2 08-11-2004 10:14 PM
java compiler shamz Programming 2 10-26-2003 04:35 PM

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

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