Hi,
I am running a java application which expects the sun jre to sucessfully execute itself. I have these rpms from default installation:
1} java-1.4.2-gcj-compat-src-1.4.2.0-40jpp_31rh.FC4.1 2} java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp_31rh.FC4.1 3} gcc-java-4.0.1-4.fc4
Do I need these and how do I circumvent these.
I have sun's jre version jre-1.5.0_05-fcs installed
Thanks!
On Sun, Sep 25, 2005 at 09:05:29AM +0530, Vikram Goyal wrote:
Hi,
I am running a java application which expects the sun jre to sucessfully execute itself. I have these rpms from default installation:
1} java-1.4.2-gcj-compat-src-1.4.2.0-40jpp_31rh.FC4.1 2} java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp_31rh.FC4.1 3} gcc-java-4.0.1-4.fc4
Do I need these and how do I circumvent these.
I have sun's jre version jre-1.5.0_05-fcs installed
Thanks!
I assume that jre-1.5.0_05-fcs is not a rpm. What we do is install it somewhere on the /usr/local tree and then make the directory with the executables available by putting it ahead of /usr/bin in the PATH search order.
Try this:
Download the Sun JRE 1.5 (preferably J2SDK 1.5 if you're a developer) and install it, i.e., in /opt. You may want to download the `.bin` rather than the `.rpm` to have more control as to where you want to move it after you `sh` it.
Then set your JAVA_HOME variable (either in /etc/profile [global] or in ~/.bash_profile [user]) to point it to the directory where you installed/moved it. Modify your PATH variable, in such a way that JAVA_HOME comes first before everything, to override java-gcc path.
JAVA_HOME=<install_dir> PATH=$JAVA_HOME/bin:$PATH:<etc>
HTH.
On 9/25/05, Vikram Goyal vikigoyal@gmail.com wrote:
Hi,
I am running a java application which expects the sun jre to sucessfully execute itself. I have these rpms from default installation:
1} java-1.4.2-gcj-compat-src-1.4.2.0-40jpp_31rh.FC4.1 2} java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp_31rh.FC4.1 3} gcc-java-4.0.1-4.fc4
Do I need these and how do I circumvent these.
I have sun's jre version jre-1.5.0_05-fcs installed
Thanks!
vikram... |||||||| |||||||| ^^'''''^^||root||^^^'''''''^^ // \ )) //(( \// \ // /\ || \ || / )) (( \ -- This is a good time to punt work. -- O ~|~ = Registered Linux User #285795
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
-- Eduardo Dela Rosa
-----Original Message----- From: Eduardo Dela Rosa eduardo.delarosa@gmail.com Sent: Tue, Sep 27, 2005 at 09:28:53AM +1000 To For users of Fedora Core releases Subject: Re: Does one needs gcc java in fc4
Try this:
Download the Sun JRE 1.5 (preferably J2SDK 1.5 if you're a developer) and install it, i.e., in /opt. You may want to download the `.bin` rather than the `.rpm` to have more control as to where you want to move it after you `sh` it.
Then set your JAVA_HOME variable (either in /etc/profile [global] or in ~/.bash_profile [user]) to point it to the directory where you installed/moved it. Modify your PATH variable, in such a way that JAVA_HOME comes first before everything, to override java-gcc path.
JAVA_HOME=<install_dir> PATH=$JAVA_HOME/bin:$PATH:<etc>
HTH.
On 9/25/05, Vikram Goyal vikigoyal@gmail.com wrote:
Hi,
I am running a java application which expects the sun jre to sucessfully execute itself. I have these rpms from default installation:
1} java-1.4.2-gcj-compat-src-1.4.2.0-40jpp_31rh.FC4.1 2} java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp_31rh.FC4.1 3} gcc-java-4.0.1-4.fc4
Do I need these and how do I circumvent these.
I have sun's jre version jre-1.5.0_05-fcs installed
Thanks!
vikram... |||||||| |||||||| ^^'''''^^||root||^^^'''''''^^ // \ )) //(( \// \ // /\ || \ || / )) (( \ -- This is a good time to punt work. -- O ~|~ = Registered Linux User #285795
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
I found a more elegant solution from the list. See..
Using alternatives to setup the system to use the Sun version is better than removing all the Java packages. See http://fedoraproject.org/wiki/JavaFAQ
Regards,
On Wed, 2005-09-28 at 11:32, Vikram Goyal wrote:
I found a more elegant solution from the list. See..
Using alternatives to setup the system to use the Sun version is better than removing all the Java packages. See http://fedoraproject.org/wiki/JavaFAQ
Is the more general concept of alternatives documented somewhere?
Les Mikesell wrote:
On Wed, 2005-09-28 at 11:32, Vikram Goyal wrote:
I found a more elegant solution from the list. See..
Using alternatives to setup the system to use the Sun version is better than removing all the Java packages. See http://fedoraproject.org/wiki/JavaFAQ
Is the more general concept of alternatives documented somewhere?
In its man page.
# man alternatives
regards Rahul