LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   jdk 1.5 for i386 on RHEL5 ?? (https://www.linuxquestions.org/questions/linux-software-2/jdk-1-5-for-i386-on-rhel5-668352/)

vikas027 09-08-2008 06:37 AM

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

indienick 09-08-2008 07:49 AM

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.

vikas027 09-08-2008 11:40 AM

Quote:

Originally Posted by vikas027 (Post 3273192)
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

vikas027 09-09-2008 11:14 PM

Well, got the answer from somewhere else,

It does not mess up with Oracle 11g install, still will try it and confirm.

vikas027 09-10-2008 07:04 AM

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

alar 09-27-2009 04:10 PM

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 ;-)


All times are GMT -5. The time now is 04:40 AM.