Results 1 to 2 of 2
  1. #1
    vsanandan is offline Member
    Join Date
    Nov 2008
    Posts
    6
    Rep Power
    0

    Question Netbeans starting problem.

    I am using netbeans-6.7.1 for more than 1 year without any issue. My CentOS 4.4 system uses JAVA_HOME as /usr/local/j2sdk1.4.2_07 but I have /usr/local/jdk1.5.0_10/ also in my system and referring from netbeans. The link from /usr/local/bin/java was a symbolic link to /usr/local/j2sdk1.4.2_07. I tried to change the link /usr/local/bin/java to /usr/local/jdk1.5.0_10/, I am facing the problem. From icon, netbeans is not getting started. From the command line if I start it says
    [root@anandan bin]#./netbeans
    Cannot find java. Please use the --jdkhome switch.

    I tried to provide the jdkhome also like here:
    [root@anandan bin]# ./netbeans --jdkhome /usr/local/jdk1.5.0_10/
    Cannot find java. Please use the --jdkhome switch.
    [root@anandan bin]# ./netbeans --jdkhome /usr/local/jdk1.5.0_10/bin/java
    Cannot find java. Please use the --jdkhome switch.
    [root@anandan bin]# ./netbeans --jdkhome /usr/local/j2sdk1.4.2_10/bin/java
    Cannot find java. Please use the --jdkhome switch.

    I really don't know how to proceed - I want to use jdk1.5.0_10. Someone please help me start my netbeans.

  2. #2
    vsanandan is offline Member
    Join Date
    Nov 2008
    Posts
    6
    Rep Power
    0

    Default

    Thanks everybody - the problem got resolved - The problem originated from java. java was missing in jdk1.5.0_10/bin. I reinstalled jdk1.5 and problem disappeared.

Similar Threads

  1. Replies: 2
    Last Post: 04-02-2010, 02:47 PM
  2. Eclipse Europa Starting problem
    By prashant.kadake in forum Eclipse
    Replies: 0
    Last Post: 04-18-2009, 11:06 AM
  3. starting problem
    By anithananduri in forum New To Java
    Replies: 1
    Last Post: 03-17-2009, 02:27 PM
  4. Problem starting Eclipse Europa 3.3
    By jwooten in forum Eclipse
    Replies: 0
    Last Post: 03-10-2009, 02:40 AM
  5. Problem in Starting JBOSS Server
    By 82rathi.angara in forum Networking
    Replies: 0
    Last Post: 06-16-2008, 03:58 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •