Problem in installing JDK 5.0

Hi,
In order to install ORacle SQL Developer for linux, I tried to install JDK 5.0 according to the instruction. I downloaded the files and installed it. But when running the sqldeveloper, I got the error message:
Error: This product requires a Java(TM) Platform 5.0 runtime.
You are using 1.4.2 from /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
sqldeveloper installation instruction suggests to go to this page:
http://java.sun.com/javase/downloads/index_jdk5.jsp
and download JDK 5.0 Update 6. Since this website doesn't have 6, so I downloaded JDK 5.0 Update 10.
How do I make sure JDK 1.5 is installed?

Sorry for delay but I was temporary away without
internet connectivity ;-(
That commad will print "/usr/java/jdk1.5.0_10" and
redirect this text (output) to
/home/cdre/.sqldeveloper_jdk file. If the file is
exists then contents of file will be replaced by new
text. If the file does not exeist then will be
created.
But there is another problem. Seems you are using
SQLDeveloper 1.1 and (where some things were changed
from 1.0) and this command is valid for 1.0.No problem. I have learned a lot about shell scripting recently.

Similar Messages

  • Problem Re-Installing JDK 1.4.1_01

    I have been programming in Java for years, and I consider myself an expert, but I have encountered several problems with JDK 1.4.1_01. The problem that I am addressing in this post, a failure to re-install JDK 1.4.1_01, is only my latest problem. Here are the basics:
    1. I had both 1.4.1_01 and 1.3.1_02 installed on my computer
    (Win 2000, 1GH processor, 1GB RAM, 30GB hard drive)
    2. I decided to uninstall everything and then reinstall 1.4.1_01.
    I used the Windows Control Panel Add/Remove programs feature
    to uninstall. Everything appeared to go well.
    3. I then tried to re-install 1.4.1_01. The status bar gets
    all the way to 100%, and then a small window pops up with
    the message "Setting up Java 2 Runtime Environment. Please
    wait...". At this point my computer hangs, and I have to
    kill the process.
    4. I tried this several times with several other attempts to
    fix the problem (such as hacking the registry to remove
    any related entries), and rebooting every time. Nothing
    worked -- always the same problem.
    After a couple of hours trying I gave up and re-installed 1.3.1 without any problems. Does anyone have a suggestion as to how I can re-install 1.4.1_01. Based on the number of problems that others are having with this release, I am tempted to forget it and wait for 1.4.1_02.

    Likely, your Registry still has some problems in it. There were (are still?) version compatibility problems involving some 1.3 releases. You might check the buglist. And search the forums, there are a lot of posts about this.

  • Problem about installing jdk on mandrake...

    hi. i downloaded j2sdk-1_4_1_01-linux-i586.bin and placed it in /usr directory. wrote the command
    ./j2sdk-1_4_1_01-linux-i586.bin
    now there exists this directory /usr/j2sdk1.4.1_01
    i wrote a simple application and copied it to /usr/j2sdk1.4.1_01/bin
    and te command
    /usr/j2sdk1.4.1_01/bin/javac test.java
    the output:
    bash: javac: commmand not found
    what do i have to do...thnaks..

    by you doing it this way /usr/j2sdk1.4.1_01/bin/javac test.java you should not need to set the class path and such because you are specifing the exact path to javac so you can compile.1 check and see if you have installed it right and make sure you are giving the right path to javac so to check and see if this is the right path to javac type this in the prompt
    ls /usr/j2sdk1.4.1_01/bin
    Then tell use if you see java,javac,jar and such in there if so your path there is right and it should work cause that is where javac is

  • Install JDK

    I got a problem to install JDK, Would anyone help me, please.
    after i run the .exe file, i just got the .exe file, nothing else, not bin file, lib file, etc.
    I down the JDK(J2se sdk) from below website.
    http://java.sun.com/j2se/1.4.2/download.html
    But after down load, i got a .exe file which called j2sdk-1_4_2_09-windows-i586-p. Then i double click on it and run it, and it pop up a window. I followed the instruction until finish and restart my computer also. Finally
    I just see the .exe file, nothing else, not bin file, not lib file etc, would you tell me why. My computer is XP window.

    To warnerja :
    Sounds like you need someone to hold your hand as you run it. Can't >do that here. Go hire someone or get one of your hands-on buddies to >do that. your sound like a genius, but in fact you are an useless people, otherwise you will be famous in the world, and have not time to here.
    you just have ability to to talk people with 1+1= 2, nothing else. You are an arrogant people, but have very lower ability.

  • Problems in instalation/running with JDK 5.0

    I'm rellatively new to Java programming. I've had a few classes, know the basic concepts and have tried some tutorials. Recently I installed JDK 5.0 update 6 in my computer (first I tried the Netbeans bundle, but saw it was very complicated and unnecesary) then found the installation for only the JDK and JRE.
    The compilation goes without complication, but when I want to run the program come the obstacles
    I've tried to start with some simple programs but whatever I do, I get the Exception in thread "main" java.lang.NoClassDefFoundError in every program that I've done. I even tried the simplest HelloWorld program (found in http://java.sun.com/docs/books/tutorial/getStarted/cupojava/win32.html ) and get the same error
    Now for the important part. I've already did my research, tried to debug everything. First off, added to my PATH env variable the path to the jdk5.0/bin dir to run javac and java in every directory. And also tried running "java HelloWorldApp classpath="dir to .class" and no success.
    I checked the env variable for CLASSPATH and only found a path to a Quicktime dir and nothing else (yes, I have Quicktime Pro installed). I've tried adding the dir of the .class file to it with no success
    I don't know what else to do. If someone has suggestions as to what else there is to do, please do not hessitate to even give the simplest and dumbest of advise

    I agree with the previous poster that it's better not to rely on the CLASSPATH environment variable.
    If you go to this link:
    http://java.sun.com/j2se/1.5.0/docs/tooldocs/index.html#basic
    you can find the documentation for javac and java, which may interest you in itself. The one for javac explains the essence of how classes are found.
    Now, assuming you are on Windows,
    http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/java.html
    documents how to run java. You need to pass as -cp all relevant class paths.
    I know this is not helping you directly, but it's hard if not impossible to deduce the problem from what you wrote (at least to me). But if you try this and you still get the same error, please post the full and exact command line you tried.

  • When installed JDK but I have problem with System vars may install bundle

    When installed JDK but I have problem with System vars may install bundle [netbeans&JDK] WITHOUT UNISTALLING initial JDK or needed uninstall first ?

    With the word 'automatically', yes you do need pulseaudio. I'm sure you could cook up some udev or related rule to do that in Alsa, but pulseaudio would be easier.

  • Problems emerges after installing JDK

    after installing JDK, problems show.
    when I try to open the file on the disk, it takes much more time than before. Or even I can open the subfile.
    But when I install the JDK on anther computer, such phenomina does not happen.
    How to solve this problem, thank you in advance.
    My OS is Windows XP.

    But not on the floppy disk.
    It is on the disk. It takes me too long a time to open the file on the (D:) disk and (E:) as well.
    while doing the same on another computer, it doesnot happen.
    What is the problem ?
    Thank you in advance.

  • Problem with installing Java EE with JDK Bundle

    Hello everyone
    I downloaded the Java EE SDK with JDK update 25 bundle for linux
    The file end in .sh. however when I run the executable I get the no jar found message. Do I need to install jdk before I install jee and if I do then why do they provide them bundled if you have to have the jdk first before installing jee.
    Another question also, how do I change my handle in this forum? I didn't pick this number!!

    Yes, it is a bit stupid. You need the jar command which usually is available if you have a JDK installed but there are other ways of just installing just jar. Also note that some people already have an older JDK installed, thus jar is available and when they install this bundle they get a newer JDK.
    Anyway, for changing your handle, you can do that from 'Your Control Panel' and then Edit your profile.

  • Error while installing JDK 1.6 on Linux?

    Hi,
    Could not locate a suitable jar utility.
    Please ensure that you have Java 6 or newer installed on your system
    and accessible in your PATH or by setting JAVA_HOME
    Below is environment variables on Linux. when I try to install JDK 1.6 I'm getting forllowing error.
    do I need to add environment variable before installing JDK ? In windows it will automatically add to path variable while installing. how to fix above problem?
    environment variables on Linux server below.
    HOSTNAME=lx-cphrobi-t49x
    TERM=xterm
    SHELL=/bin/bash
    HISTSIZE=1000
    SSH_CLIENT=10.172.18.240 62878 22
    OLDPWD=/opt/oinstall/software
    SSH_TTY=/dev/pts/0
    USER=hrobi
    LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or= 01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:* .bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.l zh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31 :*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35 :*.png=00;35:*.tif=00;35:
    MAIL=/var/spool/mail/hrobi
    PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/share/centrifydc/bin:/usr/X11R6/bin:/home/hro bi/bin
    INPUTRC=/etc/inputrc
    PWD=/opt/oinstall/software/Java
    LANG=en_US.UTF-8
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    SHLVL=1
    HOME=/home/hrobi
    LOGNAME=hrobi
    CVS_RSH=ssh
    SSH_CONNECTION=10.172.18.240 62878 10.179.8.117 22
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    G_BROKEN_FILENAMES=1
    _=/usr/bin/env

    When you installing Java on Linux, installable should not ask for JAVA_HOME as you mentioned "Please ensure that you have Java 6 or newer installed on your system and accessible in your PATH or by setting JAVA_HOME "
    Check this link for more info, it suppose to be as good as Windows
    http://docs.oracle.com/javase/7/docs/webnotes/install/linux/linux-jdk.html

  • Error message while installing JDK on RED HAT  - linux interprise 5

    Hello!
    I have got an error message while installing JDK on RED HAT - linux interprise 5:
    [user@localhost Desktop]$ cd jdk-6u22-linux-i586-rpm.bin ./jdk-6u22-linux-i586-rpm.bin
    bash: cd: jdk-6u22-linux-i586-rpm.bin: Not a directory
    [user@localhost Desktop]$ ./jdk-6u22-linux-i586-rpm.bin
    Unpacking...
    Checksumming...
    Extracting...
    UnZipSFX 5.50 of 17 February 2002, by Info-ZIP ([email protected]).
    inflating: jdk-6u22-linux-i586.rpm
    inflating: sun-javadb-common-10.5.3-0.2.i386.rpm
    inflating: sun-javadb-core-10.5.3-0.2.i386.rpm
    inflating: sun-javadb-client-10.5.3-0.2.i386.rpm
    inflating: sun-javadb-demo-10.5.3-0.2.i386.rpm
    inflating: sun-javadb-docs-10.5.3-0.2.i386.rpm
    inflating: sun-javadb-javadoc-10.5.3-0.2.i386.rpm
    error: can't create transaction lock on /var/lib/rpm/__db.000
    Installing JavaDB
    error: can't create transaction lock on /var/lib/rpm/__db.000
    Done.
    What is the problem?
    Thanks!

    Good point.
    Moderator action: thread locked.

  • Unable to install JDK 6 on Windows Vista

    Hi
    I am unable to install jdk 6 (jdk-6u4-windows-x64)on windows vista. I am getting error at installing time and it will terminate process.
    Can any one help me!
    Thanks in advance
    Dave

    Not without exact problem information.
    Read the Installation Instructions (at where you gor Java.)

  • Installing jdk on windows 7

    Forgive me in advance as I am completely new to this. In September of this year I'll be starting an ict degree with the Open University. I figured I'd get a head start by learning a bit of java. I have installed jdk (64bit) for windows 7 fine, and altered the path so that the javac command works ok from the command prompt. However, it still does not work as I am getting the following error:
    error while writing.......a required privelage is not held by the client
    The problem seems to be that the javac application (and presumably all the others too) needs to be run in admin mode. I edited the properties of javac, and now when i use it from the command prompt it works fine. Is there an easier way around this?

    Looks like you are trying to compile in a directory where you don't have rights.
    Like a JDK directory under \program files. If this is the case, work in a directory under your user profile.
    Copy samples from the JDK as necessary.

  • I met problem when installing Oracle 8.1.6 on Turbo Linux 7.0

    I met problem when installing Oracle 8.1.6 on Turbo Linux 7.0.
    After setting up environment variables, and successfully
    accessed KDE interface, everything was going on well.
    The process of installation blocked at 80% in "Database Creation
    Process" dialog window.
    I have tried two times and got the same result.
    The error message is:
    Warning: Cannot convert string "-*-Kochi Gothic-medium-r-normal-
    *-*100...
    Help!

    I have done some oracle installations over RedHat 7.0 (not certificated):
    Let's check some things:
    1- You must have changed very few parameters on your shm.h sem.h files which are in /usr/include/linux directory.
    2- You need to upgrade the glibc and libstdc libraries (.rpm)
    3- You must have installed the jre116_v5 on /usr/jre and made a symbolic link like this
    ln -s /usr/jre/jre116_v5 /usr/local/jre
    4- You must include in the CLASSPATH parameter the jre116_v5 directory. It should look something like this
    CLASSPATH=/usr/jre/jre116_v5:$ORACLE_HOME/jlib
    5- Be sure to create and export all the parameters in your .bash_profile.
    6- Run the ./runInstaller.sh in a terminal window inside the Xwindow.
    You can find the jre116_v5 in www.backdown.org
    I hope these tips help you
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by xx:
    Hi every body
    when I run ./runInstaller from cdrom
    I get this messages :
    Initializing Java Virtual Machine from /usr/local/jre/bin/jre.Please wait ...
    Error in CreateOUIProcess ():-1
    : Bad Address
    I use JDK-1-1-6.
    Thx<HR></BLOCKQUOTE>
    null

  • Problem in installing Netweaver developer workstation

    Hi,
      I have some problem in installing the Net Weaver Developer workstation on my pc. I have installed all the prerequisites for the same and have administrator privileges on the system as well. The log contents are as given below. Please could anyone figure out what exactly is the problem?
    <b>
    starting gui server process:
      sapinstport: 21200
      guiport    : 21212</b>
      command    : "C:\Program Files\Java\j2re1.4.2_09\bin\javaw.exe" -cp "C:/DOCUME1/ADMINI1/LOCALS1/Temp/sapinst_exe.2956.1179124207\jar\instgui.jar;C:/DOCUME1/ADMINI1/LOCALS1/Temp/sapinst_exe.2956.1179124207\jar\inqmyxml.jar" -Xmx256M -Dsun.java2d.noddraw=true SDTServer config=jar:sdtserver.xml guiport=21212 sapinsthost=localhost sapinstport=21200
    <b>starting gui process:
      port   : 21212</b>
      command: "C:\Program Files\Java\j2re1.4.2_09\bin\javaw.exe" -cp "C:/DOCUME1/ADMINI1/LOCALS1/Temp/sapinst_exe.2956.1179124207\jar\instgui.jar;C:/DOCUME1/ADMINI1/LOCALS1/Temp/sapinst_exe.2956.1179124207\jar\inqmyxml.jar" -Xmx256M -Dsun.java2d.noddraw=true SDTGui service=com.sap.sdt.engine.ext.sapinst.SAPinstServiceIF host=localhost port=21212
    load resource pool C:\Documents and Settings\Administrator\Desktop\NW04sDW on IM_WINDOWS_I386\resourcepool.xml
    <b>guiengine</b>: no GUI connected; waiting for a connection on host port 21200 to continue with the installation</i>
    <b><i>INFO 2007-05-14 14:37:50</b>
    Execution of preprocess block of |NW_Workplace|ind|ind|ind|ind|0|0|NW_First_Steps|ind|ind|ind|ind|0|0|Preinstall|ind|ind|ind|ind|0|0 Step AddPrivileges returns TRUE.
    <b>ERROR 2007-05-14 14:37:50</b>
    FSL-06002  Error 123 (The filename, directory name, or volume label syntax is incorrect. ) in execution of a 'NetServerGetInfo' function, line (202), with parameter (., 101).
    <b>ERROR 2007-05-14 14:37:50</b>
    MOS-01224  Unable to add privileges 'SeTcbPrivilege SeAssignPrimaryTokenPrivilege SeIncreaseQuotaPrivilege' to account 'sysadmin' on host '.'.
    <b>ERROR 2007-05-14 14:37:50</b>
    MOS-01224  Unable to add privileges 'SeTcbPrivilege SeAssignPrimaryTokenPrivilege SeIncreaseQuotaPrivilege' to account 'sysadmin' on host '.'.
    <b>ERROR 2007-05-14 14:37:50</b>
    FCO-00011  The step AddPrivileges with step key |NW_Workplace|ind|ind|ind|ind|0|0|NW_First_Steps|ind|ind|ind|ind|0|0|Preinstall|ind|ind|ind|ind|0|0|AddPrivileges was executed with status ERROR .</i>

    Hi Anushree,
    Let me make it clear.  sorry for confusion
    I<i> could not understand where u said "Please make sure that a JDK is installed on this host and that SAPINST_JRE_HOME points to the root
    directory of your Java installation. As an alternative you may start the GUI Server on another host." Could you please elaborate on it?</i>
    <i>Where exactly should the JDK be installed?</i>
    <b>Answer:</b> Installation error of NW04s
    <i>Does it make any difference to install a different version of JDK when the installation guide clearly recommmends the usage of one version?</i>
    Absolutely yes,,but It somehow worked for  08 for me. go ahead with 09 as per recommendation.
    <i>Where can I find SAPINST_JRE_HOME? The installation no where asks for any input where I can mention the directory of Java installation</i>.
    You can put environmental variable called SAPINST_JRE_HOME=<Your JDK Installation path> where ever  and make sure it's in the path, veryifying with PATH
    on cmd-prompt. and follow the above URL as it clearly says the same problem
    Also disable any ant-virus if it's running
    Hope that helps

  • Installing JDK-1.4.2_05 on SOLARIS 8: `(' unexpected

    Hello,
    I have problems installing JDK-1.4.2_05 on two SOLARIS 8 boxes.
    The error occurs right at the beginning of the installation.
    I start the installation as follows:
    -rwxr--r-- 1 sw staff 35253366 Sep 21 13:51
    j2sdk-1_4_2_05-solaris-i586.sh
    [root@sokrates /home/sw/BVB-3-Stuff/Jdk-1.4]# cd /usr
    [root@sokrates /usr]#
    /home/sw/BVB-3-Stuff/Jdk-1.4/j2sdk-1_4_2_05-solaris-i586.sh
    The error is as follows:
    Unpacking...
    Checksumming...
    0
    0
    Extracting...
    ./install.sfx.825: syntax error at line 1: `(' unexpected
    Done.
    The error is the same on both machines.
    Both machines run SOLARIS 8 (SUN-OS 5.8) with the latest J2SE recommended
    patches installed.
    Any help is highly appreciated.

    This may sound a bit obvious, but are the two machines in question Intel machines? If I try to install this (Intel) package on a SPARC box, I get exactly the same error. Again, sorry if this sounds a bit obvious, but it's just a thought :)

Maybe you are looking for

  • How to create Crystal Report?

    Hi All, I'm a new beginner to the world of ODT. I have created a project using VB 2008 and Oracle 10g using Oracle Dev Tools for .NET version 11.xx. Now, I want to create simple report from my Oracle Database using Crystal Report. Can any one show me

  • Using BADi's BBP_PGRP_FIND  and BBP_WF_LIST  for Sourcing

    Hi all,    We are running on SRM 5.0(SP6),Strategic Sourcing scenario. Our process is as  follows: 1.Transfer of PR's from R/3 to SRM.We are setting 3 definate Purchase groups in the requisition whcih we are transferring. (001,002,003 - depending on

  • MacBook 13" Retina VS MacBook 15" Retina

    hi I'm standing in the election of a MacBook 13" Retina VS MacBook 15" Retina I do not know what to choose. I need it for school and some games.

  • 1050c leading edge trims too much

    Hi there, I was trying to figure out if there is a way to make the 1050c trim less of the leading edge when loading a roll.  Every time I load a roll it trims about 4 inches; my old 750 could be loaded to only trim about 1/8 inch. It sure adds up whe

  • Single Node RAC on 11.2.0.3

    Hi All, i have implemented Rac One node with two machine(dbtest01,dbtest02) in 11.2.0.3 Redhat 5.3 one for online another one for offline. i have created TAF also. dbtest01 is online and created one query DECLARE i number(36):=1; begin while(i<100000