Hi,
I installed Oracle’s sqldeveloper recently. Now, when I try to start sqldeveloper it asks for the “full pathname of a J2SE installation” and also says “the path will be stored in ~/.sqldeveloper/jdk”.
I checked and there is no “.sqldeveloper” directory in my home folder. I listed the files in “/usr/lib/jvm” but I do not know which one is the JDK file it is asking for. The listing is : drwxr-xr-x 3 root root 4096 2009-02-22 22:10 java-1.6.0-openjdk-1.2_b11
lrwxrwxrwx 1 root root 30 2009-02-22 22:10 jre-1.6.0-openjdk -> java-1.6.0-openjdk-1.2_b11/jre
lrwxrwxrwx 1 root root 29 2009-02-22 22:10 jre-openjdk -> /etc/alternatives/jre_openjdk
lrwxrwxrwx 1 root root 27 2009-02-22 22:10 jre-1.6.0 -> /etc/alternatives/jre_1.6.0
lrwxrwxrwx 1 root root 21 2009-02-22 22:10 jre -> /etc/alternatives/jre
lrwxrwxrwx 1 root root 25 2009-02-22 22:11 jre-gcj -> /etc/alternatives/jre_gcj
lrwxrwxrwx 1 root root 30 2009-02-22 22:11 jre-1.5.0-gcj -> java-1.5.0-gcj-4.3-1.5.0.0/jre
drwxr-xr-x 3 root root 4096 2009-02-22 22:11 java-1.5.0-gcj-4.3-1.5.0.0
lrwxrwxrwx 1 root root 27 2009-02-22 22:11 jre-1.5.0 -> /etc/alternatives/jre_1.5.0
My $JAVA_HOME is set as “/usr/lib/jvm/jre”. I tried installing jdk-6u12-linux-i586-rpm.bin but YaST says it is already installed.
To find the file for any RPM query the RPM database using that package’s
name. In your case I would try:
rpm -ql jdk-6u12-linux
To find binaries the crude way from that:
rpm -ql jdk-6u12-linux | grep bin
Good luck.
vendetta18 wrote:
> Hi,
> I installed Oracle’s sqldeveloper recently. Now, when I try to start
> sqldeveloper it asks for the “full pathname of a J2SE installation”
> and also says “the path will be stored in ~/.sqldeveloper/jdk”.
> I checked and there is no “.sqldeveloper” directory in my home
> folder. I listed the files in “/usr/lib/jvm” but I do not know which
> one is the JDK file it is asking for. The listing is :
> drwxr-xr-x 3 root root 4096 2009-02-22 22:10
> java-1.6.0-openjdk-1.2_b11
> lrwxrwxrwx 1 root root 30 2009-02-22 22:10 jre-1.6.0-openjdk →
> java-1.6.0-openjdk-1.2_b11/jre
> lrwxrwxrwx 1 root root 29 2009-02-22 22:10 jre-openjdk →
> /etc/alternatives/jre_openjdk
> lrwxrwxrwx 1 root root 27 2009-02-22 22:10 jre-1.6.0 →
> /etc/alternatives/jre_1.6.0
> lrwxrwxrwx 1 root root 21 2009-02-22 22:10 jre →
> /etc/alternatives/jre
> lrwxrwxrwx 1 root root 25 2009-02-22 22:11 jre-gcj →
> /etc/alternatives/jre_gcj
> lrwxrwxrwx 1 root root 30 2009-02-22 22:11 jre-1.5.0-gcj →
> java-1.5.0-gcj-4.3-1.5.0.0/jre
> drwxr-xr-x 3 root root 4096 2009-02-22 22:11 java-1.5.0-gcj-4.3-1.5.0.0
> lrwxrwxrwx 1 root root 27 2009-02-22 22:11 jre-1.5.0 →
> /etc/alternatives/jre_1.5.0
>
> My $JAVA_HOME is set as “/usr/lib/jvm/jre”. I tried installing
> ‘jdk-6u12-linux-i586-rpm.bin’ (http://tinyurl.com/aef8pk) but YaST says
> it is already installed.
>
> Any help will be greatly appreciated…
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
Actually I got everything working. The path of JDK is displayed in the YaST itself. I clicked the JDK in YaST and it told me the path. When I executed sqldeveloper first time it created a .sqldeveloper directory in $HOME. I created a file “jdk” in it and put the path of JDK in that. Now it is working perfectly:)
But I put myself in big trouble. I accidently deleted “popper-data” during YaST installation. Now I cannor access my web connection and I do not know how to get back popper-data back without my web connection. Any suggestions???