LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-17-2005, 01:35 AM   #1
UmneyDurak
Member
 
Registered: Jun 2004
Posts: 178

Rep: Reputation: 30
FC4 and java


Hi.
When installing FC4 I installed Java support. Looking at what got installed I don't think it's the same thing as what is offered through sun. If I install java j2se from sun, how do I change so that when I type java, javac it will use that instead of what I installed?
Thx.
 
Old 09-17-2005, 02:08 AM   #2
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
If you use either the JPackage rebuild package method or the manually extract, etc. method of properly installing Java on FC, then all the paths should be added correctly.
 
Old 09-18-2005, 05:21 PM   #3
UmneyDurak
Member
 
Registered: Jun 2004
Posts: 178

Original Poster
Rep: Reputation: 30
HI.
The first link is for update 4, and I think the second link is for installing run time environment.
How can I install jdk update 5?
 
Old 09-27-2005, 10:56 PM   #4
UmneyDurak
Member
 
Registered: Jun 2004
Posts: 178

Original Poster
Rep: Reputation: 30
Please someone help. I figured I can use the manual method to install jre, but what about jdk for development?
Mainly what should I put in /etc/profile.d/java.sh
The manual link above only covers JRE.

Thank You.

Last edited by UmneyDurak; 09-27-2005 at 11:03 PM.
 
Old 09-28-2005, 01:05 AM   #5
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
Quote:
Originally posted by UmneyDurak
I figured I can use the manual method to install jre, but what about jdk for development?
Instead of going to "Download JRE 5.0 Update 5", go to "Download JDK 5.0 Update 5" and download the "jdk-1_5_0_05-linux-i586.bin"
 
Old 09-29-2005, 04:54 PM   #6
jlblom
LQ Newbie
 
Registered: May 2004
Location: Almere The Netherlands
Distribution: FC7-AMD_64
Posts: 19

Rep: Reputation: 0
Hi,
I put this as a reply as I can't find the button for a new thread. Anyway it is related.
I installed j2sre on my FC4-AMD_64 linux which worked well. However, I first had installed jre1.5.0 which doesn't have the plugin directory.
Can anybody point out the difference between j2sre and jre as I cannot find it.
Thanks
Joep
 
Old 09-29-2005, 05:01 PM   #7
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
What is "j2sre"?
 
Old 09-29-2005, 05:35 PM   #8
UmneyDurak
Member
 
Registered: Jun 2004
Posts: 178

Original Poster
Rep: Reputation: 30
That solved it, so what exactly does disabling that option do (what are it's side effects)?
 
Old 09-29-2005, 05:40 PM   #9
jlblom
LQ Newbie
 
Registered: May 2004
Location: Almere The Netherlands
Distribution: FC7-AMD_64
Posts: 19

Rep: Reputation: 0
Sorry, typo.
I ment j2re. (I installed j2re1,4,2). The difference between j2re1.4 and jre1,5 is not clear to me.
Joep
 
Old 10-27-2005, 08:41 AM   #10
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
You can also switch to SuSE or Mandriva, both which provide RPMs of J2RE that work with their distro. If I wanted to build it from scratch I'd be using Gentoo not FC4. This is absurd.
 
Old 10-27-2005, 09:30 AM   #11
jlblom
LQ Newbie
 
Registered: May 2004
Location: Almere The Netherlands
Distribution: FC7-AMD_64
Posts: 19

Rep: Reputation: 0
Crito,
Thanks. I have some other packets from SuSE (I have worked for years with it) but not all are compatible with other distro's due to their directory structure. By the way what do you mean witb "That's absurd"? FC4 or their strange behavior with Java.
Looking at your site, which is very clean and nice, I wondered how you control the W2000 system. I want to run a special music notation program (Finale) on the W2000 system as it doesn't run as well with wine but i would love to control it from my Linux workstation or laptop (wireless). What is running on the W2000 system (cygwin?). It says rdesktop (and I assume 10.0.0.8 is the local Ip adress of the server).
 
Old 10-27-2005, 09:46 AM   #12
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
It's a W2K advanced server running terminal server in application server mode. I was using Mandrake 9.2's tweaked version of rdesktop as my thin client. FC4 and SuSE have a VNC app I use instead tho... name eludes me at moment, I had to boot into XP to run my Scottrade Java stuff. Don't have time to futz with FC4's java BS. They should have provided a custom built RPM with all their funky path crapolla already corrected, not force everyone who uses FC4 to build it themselves, which is what I find absurd. Took me all of 30 seconds to get J2RE up and running on SuSE and Madriva. Time is money and FC4 is wasting too much of mine with BS like this.

And what's up with the up2date GUI BTW? There's an entry in the config file that makes it look for FC3 updates! And what kills me is there's even a big FIX ME note in the file. How lazy do you have to be to miss that during QA/beta? Doesn't give me a lot of confidence in RedHat's enterprise products.
 
Old 10-27-2005, 10:06 AM   #13
jlblom
LQ Newbie
 
Registered: May 2004
Location: Almere The Netherlands
Distribution: FC7-AMD_64
Posts: 19

Rep: Reputation: 0
Crito, I agree wholehartedly about RH!
I try to update using the update button but it complaines about nit finding some (https) RH-site and when I continue (as I don't need that) the update sources are 0 bytes!. That's is already so for over a year, complaints (excuse me bugrequests) notwithstanding. I have used apt with FC3 and that's IMHO much better than yum. But I like the distro nevertheless and there are some great sound patches for it so FTTB I stick to it.

I have VNC running but no client on W2K. Can I download one someplace?
Joep
 
Old 10-27-2005, 03:13 PM   #14
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
Quote:
Originally posted by jlblom
I have VNC running but no client on W2K. Can I download one someplace?
There's RealVNC, TightVNC, and some others.
 
  


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 fc4 firefox tuxrox07 Fedora 8 11-10-2005 01:21 AM
Java problems (FC4) rickh Fedora - Installation 6 09-24-2005 04:14 PM
FC4 sun java Visko Fedora 4 09-23-2005 05:48 PM
Java Exceptions On FC4 salvatore Linux - Software 8 09-11-2005 08:40 PM
FC4 and JAVA if050204 Fedora 13 06-20-2005 02:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 05:45 PM.

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