Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-10-2014, 12:50 AM   #1
LQ Newbie
Registered: Oct 2014
Posts: 5

Rep: Reputation: Disabled
cofigured jre is not referred while upgrading an application.

I have installed my application using rpm which requires >= jre 1.6. openjre is available in the same system but i am using the absolute path of the oracle jdk to exeucte my application. I am trying to updgrade my application to the latest version but it fails to upgrade because of the conflict in jre. Somehow it takes openjre path. i have verified /etc/alternatives , which is showing the default jre as openjdk. I have designed the spec file with the absolute path of the oracle jre. Why it is referring openjre instead oracle jre.

Old 10-10-2014, 01:13 AM   #2
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
When you installed jre did you run update alternatives?
Old 10-10-2014, 01:17 AM   #3
LQ Newbie
Registered: Oct 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
After installing jre i haven't executed update-alternatives. Thats'y i have used the absolute path of oracle jdk /usr/java/default in my code everywhere. Actually it should work right?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 check whether my public IP server has firewall cofigured gotoabhishek Linux - Security 6 06-17-2008 01:00 PM
upgrading jre to j2re su_fu_ninja Linux - Newbie 4 09-14-2005 05:21 PM
Screen turns OFF after installed ATI driver & cofigured fglrxconfig RaKaKy Linux - Newbie 1 10-03-2004 02:46 PM
What is the purpose of /vmlinuz since it is not referred to in menu.lst(GRUB)? davidas Debian 5 04-08-2004 02:41 PM
login name not cofigured correctly conno Slackware 7 03-09-2003 09:24 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:43 PM.

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