LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 09-08-2008, 07:37 AM   #1
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Debian, OS X
Posts: 1,270

Rep: Reputation: 99
Question jdk 1.5 for i386 on RHEL5 ??


Hi all,

I need to install "Oracle SQL Developer" on my RHEL5 intel machine.
I have downloaded it from here
But as written here, "you have a JDK 1.5 installed".
I just wanted to ask from where I can get jdk 1.5 for i386 on RHEL5 ?? It would be really helpful, if someone could provide me the link.

I did some google work But mostly what I found was for other Linux flavors or i586.


Also, I have already installed Oracle Database 11g on my machine.
If I install Oracle SQL Developer now, will it affect the configuration files of Oracle Database 11g, because it is really a "hard work" to install it.

If someone needs help installing Oracle Database 11g on RHEL5, I can surely help.

One more small question, what is the difference between jre and jdk ??

Thanks in adv.
VIKAS

Last edited by vikas027; 09-08-2008 at 01:31 PM.
 
Old 09-08-2008, 08:49 AM   #2
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
JRE is just the Java Runtime Environment, whereas the JDK is the Java Development Kit. The JDK is a little bulkier, but it also provides a JRE. That being said, you will only ever need a JRE OR a JDK. You can have one of each installed at the same time, but why waste the disk space?

Since you are using an application like Oracle, I am guessing that you may need to use the J2EE JDK (Java Enterprise Edition) due to some extra functionalities; just as a side note, 99% of the time you can get away with using J2SE (Standard Edition).

Here's a download link to the J2EE JDK download. However, be warned that it is for Java 1.6 - not 1.5. If there are any issues, you can run the "java" command with 1.5 compatibility - for the proper syntax, just read the man page.
 
Old 09-08-2008, 12:40 PM   #3
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Debian, OS X
Posts: 1,270

Original Poster
Rep: Reputation: 99
Quote:
Originally Posted by vikas027 View Post
Hi all,

Also, I have already installed Oracle Database 11g on my machine.
If I install Oracle SQL Developer now, will it affect the configuration files of Oracle Database 11g, because it is really a "hard work" to install it.

Thanks in adv.
VIKAS
Pls someone answer this and thanks indienick.

Regards,
VIKAS
 
Old 09-10-2008, 12:14 AM   #4
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Debian, OS X
Posts: 1,270

Original Poster
Rep: Reputation: 99
Well, got the answer from somewhere else,

It does not mess up with Oracle 11g install, still will try it and confirm.
 
Old 09-10-2008, 08:04 AM   #5
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Debian, OS X
Posts: 1,270

Original Poster
Rep: Reputation: 99
Hi all,

I have found an easier way. I have connected Oracle SQL Developer on windows to MYSQL server.

It works fine for the simple syntax statements, BUT given errors in little complex statement.

Will find a way for that soon.


Thanks & Regards,
VIKAS
 
Old 09-27-2009, 05:10 PM   #6
alar
Member
 
Registered: Sep 2003
Location: Canada
Distribution: CentOS 5.5, Ubuntu 10.04, Linux Mint 11 gnome 64 bit
Posts: 336

Rep: Reputation: 36
Running SQL Developer under a JRE is not supported!

I too recently installed SQL Developer on a Linux Server, but in my case it was CentOS.
The SQL Developer install script insisted that my installed version of Java was only a JRE and it wanted JDK!
I'll leave the Java install descriptions for Java folks but just post here that the handiest piece of code for this is called alternatives (in /sbin)

[root@bilbo ~]# alternatives --config java

There are 3 programs which provide 'java'.

Selection Command
-----------------------------------------------
*+ 1 /usr/lib/jvm/jre-1.6.0-openjdk/bin/java
2 /usr/lib/jvm/jre-1.4.2-gcj/bin/java
3 /usr/lib/jvm/jre-1.6.0-sun/bin/java

Enter to keep the current selection[+], or type selection number:



I knew the "jre-1.6.0-sun" install was of full blown JDK install.
So I picked that!


[root@bilbo ~]# java -version
java version "1.6.0_11"
Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode)



And SQLDevloper installed without a hitch after I added


IncludeConfFile ../../ide/bin/ide.conf
SetSkipJ2SDKCheck true

AddVMOption -Dapple.laf.useScreenMenuBar=true
AddVMOption -Dcom.apple.mrj.application.apple.menu.about.name="SQL_Developer"
AddVMOption -Dcom.apple.mrj.application.growbox.intrudes=false
AddVMOption -Dcom.apple.macos.smallTabs=true
AddVMOption -Doracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG=true


in
/opt/sqldeveloper/sqldeveloper/bin/sqldeveloper.conf


What an easy install ;-)
 
  


Reply

Tags
jdk, rhel5


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
i386 :/x86-64 architecture of input file '*.o' is incompatible with i386 output Fiona Linux - Newbie 1 05-07-2008 08:23 AM
Build i386 binaries based on i386 shared libraries .so linuxcrazyguy Linux - Software 0 03-19-2007 06:27 PM
Jdk onelung02 Linux - Software 5 07-14-2006 04:43 PM
Eclipse and JDK altella Mandriva 2 12-29-2005 06:47 AM
how to use Jdk 1.3.1 in RH 9 Egyptian_Isis Linux - Newbie 1 11-06-2003 05:15 AM


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