Results 1 to 2 of 2
  1. #1
    Hibernate's Avatar
    Hibernate is offline Senior Member
    Join Date
    Dec 2010
    Location
    Stockholm, Sweden
    Posts
    222
    Blog Entries
    9
    Rep Power
    4

    Default Problem with updating to Java 7

    I've downloaded Java 7 binary blobs (jdk-7-linux-x64.tar.gz) from Oracle's website and installed it.

    After installing the binaries, I added them [just java, not the rest yet] to alternatives running
    either:
    Java Code:
    sudo update-alternatives --install /usr/bin/java java /usr/java/jdk1.7.0/bin/java 2000
    or:
    Java Code:
    sudo update-alternatives --install /usr/bin/java java /usr/java/jdk1.7.0/jre/bin/java 2000
    In doing so it becomes selected as default because it has the highest priority.

    But when running (something valid like):
    Java Code:
    java -version
    Java Code:
    Error occurred during initialization of VM
    java/lang/NoClassDefFoundError: java/lang/Object
    pops out.


    Any ideas what's wrong?
    Last edited by Hibernate; 08-10-2011 at 09:08 AM.
    Ex animo! Hibernate
    Java, Arch Linux, C, GPL v3, Bash, Eclipse, Linux VT, GNOME 2 and many buttons on windows.

  2. #2
    Hibernate's Avatar
    Hibernate is offline Senior Member
    Join Date
    Dec 2010
    Location
    Stockholm, Sweden
    Posts
    222
    Blog Entries
    9
    Rep Power
    4

    Default

    Bump, bumpili, bump-bump.
    Ex animo! Hibernate
    Java, Arch Linux, C, GPL v3, Bash, Eclipse, Linux VT, GNOME 2 and many buttons on windows.

Similar Threads

  1. Updating conf file through java
    By nn12 in forum New To Java
    Replies: 8
    Last Post: 03-30-2011, 08:29 AM
  2. Updating my gui
    By mrx89_7 in forum New To Java
    Replies: 4
    Last Post: 02-09-2011, 06:33 AM
  3. Issues with updating a canvas in Java
    By Sandworm in forum Advanced Java
    Replies: 1
    Last Post: 11-19-2009, 09:58 AM
  4. updating server side file using java bean
    By tskarthic in forum JavaServer Pages (JSP) and JSTL
    Replies: 3
    Last Post: 04-30-2009, 03:53 PM
  5. java program for updating bank details
    By java__beginner in forum New To Java
    Replies: 5
    Last Post: 03-12-2009, 04:42 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
  •