LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-10-2014, 01:50 AM   #1
shri1984ram
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.

Thanks
Shriram
 
Old 10-10-2014, 02:13 AM   #2
EDDY1
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, 02:17 AM   #3
shri1984ram
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?
 
  


Reply


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


All times are GMT -5. The time now is 03:03 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration