Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 5 of 5

Thread: Confused Ubuntu-ist installing JDK7

  1. #1
    Junior Member
    Join Date
    Sep 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Confused Ubuntu-ist installing JDK7

    It started when I decided to try to make $100 for a program that would run full screen. I knew I should use Java because the guy who wants the app runs Windoze 7. I installed eclipse and found a website that had an example of running Java full screen:

    Show Graphics on full Screen

    I fired up a thread on Java-forums because I received a GDK error:

    Create Full Screen Graphic Displayer

    They came to the conclusion that I needed to get rid of GNU stuff (something that I am not sure how to do) and told me to install a new JDK. Someone on the forum tested my code on Windoze and said it ran fine. I hemmed and hawed at all the manuals to read and all the choices and they held my hand through it but I guess they are sick of it now. I ended up going to this site:

    Java SE Development Kit 7 Downloads

    and I'm warm and fuzzy about tarballs so I went with that after getting an rpm from somewhere so I extracted it to my user /home/kayve/src:

    root@kayve-laptop:~# cd /home/kayve/src/
    root@kayve-laptop:/home/kayve/src# ls
    Book.bin  jdk1.7.0  jdk-7-linux-x64.rpm  scid  stockfish-211-ja  thesis
    root@kayve-laptop:/home/kayve/src# ls jdk1.7.0/
    bin        demo     lib      README.html  src.zip
    COPYRIGHT  include  LICENSE  release      THIRDPARTYLICENSEREADME.txt
    db         jre      man      sample
    root@kayve-laptop:/home/kayve/src# 
    root@kayve-laptop:/home/kayve/src# cat jdk1.7.0/release 
    JAVA_VERSION="1.7.0"
    OS_NAME="Linux"
    OS_VERSION="2.6"
    OS_ARCH="amd64"
    SOURCE=""
    root@kayve-laptop:/home/kayve/src#

    I thought I have 64 bit maybe I shouldn't have the AMD version:

    root@kayve-laptop:/home/kayve/src# uname -a
    Linux kayve-laptop 2.6.38-11-generic-pae #48-Ubuntu SMP Fri Jul 29 20:51:21 UTC 2011 i686 i686 i386 GNU/Linux
    root@kayve-laptop:/home/kayve/src#

    My Ubuntu is Nutty Narwhal I'm not sure if the above tells you that

    Ubuntu_Version.jpg

    Anyway.. these installation instructions just don't sit right with me:

    Linux Platform Install (JDK)

    I can't be done, is my inkling, and well.. my Eclipse Full screen program verifies this. The error is still there:

    (.:2141): Gdk-CRITICAL **: _gdk_pixmap_new: assertion `(width != 0) && (height != 0)' failed
    java.lang.InternalError: Gdk: _gdk_pixmap_new: assertion `(width != 0) && (height != 0)' failed
       at java.lang.reflect.Constructor.newInstance(libgcj.so.11)
    **
    ERROR:../../../../../../../src/libjava/classpath/native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:79:Java_gnu_java_awt_peer_gtk_GtkVolatileImage_init: assertion failed: (pixmap != NULL)

    How do I properly install Java and make my Full screen code work correctly?


  2. #2
    Junior Member
    Join Date
    Sep 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Confused Ubuntu-ist installing JDK7

    I should have asked, "How do I properly install JDK and make my code work correctly?" I think.

  3. #3
    Junior Member
    Join Date
    Sep 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Confused Ubuntu-ist installing JDK7

    Intalling Java 7 on Ubuntu Natty (11.04) brunoreis.com/tech

    root@kayve-laptop:/home/kayve/src# apt-get install openjdk-7-jre openjdk-7-jdk
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
    libxine1-x vorbis-tools libjpeg8 twolame libxine1-misc-plugins libxcb-xv0
    jhead transcode-doc libxine1-bin libtorrent-rasterbar6 libxine1-ffmpeg
    videotrans ffmpeg transcode libavfilter1 dvd-slideshow mjpegtools xine-ui
    libboost-filesystem1.42.0 libjpeg-progs lame libboost-system1.42.0
    libxine1-console libavdevice52 libxine1
    Use 'apt-get autoremove' to remove them.
    The following extra packages will be installed:
    icedtea-7-jre-jamvm libice-dev libsm-dev libxt-dev openjdk-7-jre-headless
    openjdk-7-jre-lib
    Suggested packages:
    openjdk-7-demo openjdk-7-source visualvm icedtea6-plugin sun-java6-fonts
    ttf-sazanami-gothic ttf-kochi-gothic ttf-sazanami-mincho ttf-kochi-mincho
    ttf-telugu-fonts ttf-oriya-fonts ttf-kannada-fonts ttf-bengali-fonts
    The following NEW packages will be installed:
    icedtea-7-jre-jamvm libice-dev libsm-dev libxt-dev openjdk-7-jdk
    openjdk-7-jre openjdk-7-jre-headless openjdk-7-jre-lib
    0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
    Need to get 48.3 MB of archives.
    After this operation, 140 MB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Get:1 Index of /ubuntu natty/main libice-dev i386 2:1.0.7-1ubuntu1 [127 kB]
    Get:2 Index of /dlecan/openjdk/ubuntu natty/main openjdk-7-jre-lib all 7~b147-2.0~pre2-3ubuntu1~ppa3 [4,995 kB]
    Get:3 Index of /ubuntu natty/main libsm-dev i386 2:1.2.0-1ubuntu1 [87.7 kB]
    Get:4 Index of /ubuntu natty/main libxt-dev i386 1:1.0.9-1ubuntu1 [457 kB]
    Get:5 Index of /dlecan/openjdk/ubuntu natty/main openjdk-7-jre-headless i386 7~b147-2.0~pre2-3ubuntu1~ppa3 [29.9 MB]
    Get:6 Index of /dlecan/openjdk/ubuntu natty/main openjdk-7-jre i386 7~b147-2.0~pre2-3ubuntu1~ppa3 [205 kB]
    Get:7 Index of /dlecan/openjdk/ubuntu natty/main openjdk-7-jdk i386 7~b147-2.0~pre2-3ubuntu1~ppa3 [11.6 MB]
    Get:8 Index of /dlecan/openjdk/ubuntu natty/main icedtea-7-jre-jamvm i386 7~b147-2.0~pre2-3ubuntu1~ppa3 [873 kB]
    Fetched 48.3 MB in 2min 33s (315 kB/s)
    Selecting previously deselected package libice-dev.
    (Reading database ... 245440 files and directories currently installed.)
    Unpacking libice-dev (from .../libice-dev_2%3a1.0.7-1ubuntu1_i386.deb) ...
    Selecting previously deselected package libsm-dev.
    Unpacking libsm-dev (from .../libsm-dev_2%3a1.2.0-1ubuntu1_i386.deb) ...
    Selecting previously deselected package libxt-dev.
    Unpacking libxt-dev (from .../libxt-dev_1%3a1.0.9-1ubuntu1_i386.deb) ...
    Selecting previously deselected package openjdk-7-jre-lib.
    Unpacking openjdk-7-jre-lib (from .../openjdk-7-jre-lib_7~b147-2.0~pre2-3ubuntu1~ppa3_all.deb) ...
    Selecting previously deselected package openjdk-7-jre-headless.
    Unpacking openjdk-7-jre-headless (from .../openjdk-7-jre-headless_7~b147-2.0~pre2-3ubuntu1~ppa3_i386.deb) ...
    Selecting previously deselected package openjdk-7-jre.
    Unpacking openjdk-7-jre (from .../openjdk-7-jre_7~b147-2.0~pre2-3ubuntu1~ppa3_i386.deb) ...
    Selecting previously deselected package openjdk-7-jdk.
    Unpacking openjdk-7-jdk (from .../openjdk-7-jdk_7~b147-2.0~pre2-3ubuntu1~ppa3_i386.deb) ...
    Selecting previously deselected package icedtea-7-jre-jamvm.
    Unpacking icedtea-7-jre-jamvm (from .../icedtea-7-jre-jamvm_7~b147-2.0~pre2-3ubuntu1~ppa3_i386.deb) ...
    Processing triggers for man-db ...
    Processing triggers for hicolor-icon-theme ...
    Processing triggers for menu ...
    Processing triggers for bamfdaemon ...
    Rebuilding /usr/share/applications/bamf.index...
    Processing triggers for desktop-file-utils ...
    Processing triggers for python-gmenu ...
    Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
    Processing triggers for python-support ...
    Setting up libice-dev (2:1.0.7-1ubuntu1) ...
    Setting up libsm-dev (2:1.2.0-1ubuntu1) ...
    Setting up libxt-dev (1:1.0.9-1ubuntu1) ...
    Setting up openjdk-7-jre-headless (7~b147-2.0~pre2-3ubuntu1~ppa3) ...
    Setting up openjdk-7-jre-lib (7~b147-2.0~pre2-3ubuntu1~ppa3) ...
    Setting up openjdk-7-jre (7~b147-2.0~pre2-3ubuntu1~ppa3) ...
    Setting up openjdk-7-jdk (7~b147-2.0~pre2-3ubuntu1~ppa3) ...
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/appletviewer to provide /usr/bin/appletviewer (appletviewer) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/apt to provide /usr/bin/apt (apt) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/extcheck to provide /usr/bin/extcheck (extcheck) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/idlj to provide /usr/bin/idlj (idlj) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/jar to provide /usr/bin/jar (jar) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/jarsigner to provide /usr/bin/jarsigner (jarsigner) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/javac to provide /usr/bin/javac (javac) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/javadoc to provide /usr/bin/javadoc (javadoc) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/javah to provide /usr/bin/javah (javah) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/javap to provide /usr/bin/javap (javap) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/jconsole to provide /usr/bin/jconsole (jconsole) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/jdb to provide /usr/bin/jdb (jdb) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/jhat to provide /usr/bin/jhat (jhat) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/jinfo to provide /usr/bin/jinfo (jinfo) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/jmap to provide /usr/bin/jmap (jmap) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/jps to provide /usr/bin/jps (jps) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/jrunscript to provide /usr/bin/jrunscript (jrunscript) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/jsadebugd to provide /usr/bin/jsadebugd (jsadebugd) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/jstack to provide /usr/bin/jstack (jstack) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/jstat to provide /usr/bin/jstat (jstat) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/jstatd to provide /usr/bin/jstatd (jstatd) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/native2ascii to provide /usr/bin/native2ascii (native2ascii) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/rmic to provide /usr/bin/rmic (rmic) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/schemagen to provide /usr/bin/schemagen (schemagen) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/serialver to provide /usr/bin/serialver (serialver) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/wsgen to provide /usr/bin/wsgen (wsgen) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/wsimport to provide /usr/bin/wsimport (wsimport) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/xjc to provide /usr/bin/xjc (xjc) in auto mode.
    Setting up icedtea-7-jre-jamvm (7~b147-2.0~pre2-3ubuntu1~ppa3) ...
    Processing triggers for menu ...
    root@kayve-laptop:/home/kayve/src#

  4. #4
    Junior Member
    Join Date
    Sep 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Confused Ubuntu-ist installing JDK7

    Intalling Java 7 on Ubuntu Natty (11.04) brunoreis.com/tech

    root@kayve-laptop:/home/kayve/src# apt-get install openjdk-7-jre openjdk-7-jdk
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
    libxine1-x vorbis-tools libjpeg8 twolame libxine1-misc-plugins libxcb-xv0
    jhead transcode-doc libxine1-bin libtorrent-rasterbar6 libxine1-ffmpeg
    videotrans ffmpeg transcode libavfilter1 dvd-slideshow mjpegtools xine-ui
    libboost-filesystem1.42.0 libjpeg-progs lame libboost-system1.42.0
    libxine1-console libavdevice52 libxine1
    Use 'apt-get autoremove' to remove them.
    The following extra packages will be installed:
    icedtea-7-jre-jamvm libice-dev libsm-dev libxt-dev openjdk-7-jre-headless
    openjdk-7-jre-lib
    Suggested packages:
    openjdk-7-demo openjdk-7-source visualvm icedtea6-plugin sun-java6-fonts
    ttf-sazanami-gothic ttf-kochi-gothic ttf-sazanami-mincho ttf-kochi-mincho
    ttf-telugu-fonts ttf-oriya-fonts ttf-kannada-fonts ttf-bengali-fonts
    The following NEW packages will be installed:
    icedtea-7-jre-jamvm libice-dev libsm-dev libxt-dev openjdk-7-jdk
    openjdk-7-jre openjdk-7-jre-headless openjdk-7-jre-lib
    0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
    Need to get 48.3 MB of archives.
    After this operation, 140 MB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Get:1 Index of /ubuntu natty/main libice-dev i386 2:1.0.7-1ubuntu1 [127 kB]
    Get:2 Index of /dlecan/openjdk/ubuntu natty/main openjdk-7-jre-lib all 7~b147-2.0~pre2-3ubuntu1~ppa3 [4,995 kB]
    Get:3 Index of /ubuntu natty/main libsm-dev i386 2:1.2.0-1ubuntu1 [87.7 kB]
    Get:4 Index of /ubuntu natty/main libxt-dev i386 1:1.0.9-1ubuntu1 [457 kB]
    Get:5 Index of /dlecan/openjdk/ubuntu natty/main openjdk-7-jre-headless i386 7~b147-2.0~pre2-3ubuntu1~ppa3 [29.9 MB]
    Get:6 Index of /dlecan/openjdk/ubuntu natty/main openjdk-7-jre i386 7~b147-2.0~pre2-3ubuntu1~ppa3 [205 kB]
    Get:7 Index of /dlecan/openjdk/ubuntu natty/main openjdk-7-jdk i386 7~b147-2.0~pre2-3ubuntu1~ppa3 [11.6 MB]
    Get:8 Index of /dlecan/openjdk/ubuntu natty/main icedtea-7-jre-jamvm i386 7~b147-2.0~pre2-3ubuntu1~ppa3 [873 kB]
    Fetched 48.3 MB in 2min 33s (315 kB/s)
    Selecting previously deselected package libice-dev.
    (Reading database ... 245440 files and directories currently installed.)
    Unpacking libice-dev (from .../libice-dev_2%3a1.0.7-1ubuntu1_i386.deb) ...
    Selecting previously deselected package libsm-dev.
    Unpacking libsm-dev (from .../libsm-dev_2%3a1.2.0-1ubuntu1_i386.deb) ...
    Selecting previously deselected package libxt-dev.
    Unpacking libxt-dev (from .../libxt-dev_1%3a1.0.9-1ubuntu1_i386.deb) ...
    Selecting previously deselected package openjdk-7-jre-lib.
    Unpacking openjdk-7-jre-lib (from .../openjdk-7-jre-lib_7~b147-2.0~pre2-3ubuntu1~ppa3_all.deb) ...
    Selecting previously deselected package openjdk-7-jre-headless.
    Unpacking openjdk-7-jre-headless (from .../openjdk-7-jre-headless_7~b147-2.0~pre2-3ubuntu1~ppa3_i386.deb) ...
    Selecting previously deselected package openjdk-7-jre.
    Unpacking openjdk-7-jre (from .../openjdk-7-jre_7~b147-2.0~pre2-3ubuntu1~ppa3_i386.deb) ...
    Selecting previously deselected package openjdk-7-jdk.
    Unpacking openjdk-7-jdk (from .../openjdk-7-jdk_7~b147-2.0~pre2-3ubuntu1~ppa3_i386.deb) ...
    Selecting previously deselected package icedtea-7-jre-jamvm.
    Unpacking icedtea-7-jre-jamvm (from .../icedtea-7-jre-jamvm_7~b147-2.0~pre2-3ubuntu1~ppa3_i386.deb) ...
    Processing triggers for man-db ...
    Processing triggers for hicolor-icon-theme ...
    Processing triggers for menu ...
    Processing triggers for bamfdaemon ...
    Rebuilding /usr/share/applications/bamf.index...
    Processing triggers for desktop-file-utils ...
    Processing triggers for python-gmenu ...
    Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
    Processing triggers for python-support ...
    Setting up libice-dev (2:1.0.7-1ubuntu1) ...
    Setting up libsm-dev (2:1.2.0-1ubuntu1) ...
    Setting up libxt-dev (1:1.0.9-1ubuntu1) ...
    Setting up openjdk-7-jre-headless (7~b147-2.0~pre2-3ubuntu1~ppa3) ...
    Setting up openjdk-7-jre-lib (7~b147-2.0~pre2-3ubuntu1~ppa3) ...
    Setting up openjdk-7-jre (7~b147-2.0~pre2-3ubuntu1~ppa3) ...
    Setting up openjdk-7-jdk (7~b147-2.0~pre2-3ubuntu1~ppa3) ...
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/appletviewer to provide /usr/bin/appletviewer (appletviewer) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/apt to provide /usr/bin/apt (apt) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/extcheck to provide /usr/bin/extcheck (extcheck) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/idlj to provide /usr/bin/idlj (idlj) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/jar to provide /usr/bin/jar (jar) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/jarsigner to provide /usr/bin/jarsigner (jarsigner) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/javac to provide /usr/bin/javac (javac) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/javadoc to provide /usr/bin/javadoc (javadoc) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/javah to provide /usr/bin/javah (javah) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/javap to provide /usr/bin/javap (javap) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/jconsole to provide /usr/bin/jconsole (jconsole) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/jdb to provide /usr/bin/jdb (jdb) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/jhat to provide /usr/bin/jhat (jhat) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/jinfo to provide /usr/bin/jinfo (jinfo) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/jmap to provide /usr/bin/jmap (jmap) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/jps to provide /usr/bin/jps (jps) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/jrunscript to provide /usr/bin/jrunscript (jrunscript) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/jsadebugd to provide /usr/bin/jsadebugd (jsadebugd) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/jstack to provide /usr/bin/jstack (jstack) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/jstat to provide /usr/bin/jstat (jstat) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/jstatd to provide /usr/bin/jstatd (jstatd) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/native2ascii to provide /usr/bin/native2ascii (native2ascii) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/rmic to provide /usr/bin/rmic (rmic) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/schemagen to provide /usr/bin/schemagen (schemagen) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/serialver to provide /usr/bin/serialver (serialver) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/wsgen to provide /usr/bin/wsgen (wsgen) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/wsimport to provide /usr/bin/wsimport (wsimport) in auto mode.
    update-alternatives: using /usr/lib/jvm/java-7-openjdk/bin/xjc to provide /usr/bin/xjc (xjc) in auto mode.
    Setting up icedtea-7-jre-jamvm (7~b147-2.0~pre2-3ubuntu1~ppa3) ...
    Processing triggers for menu ...
    root@kayve-laptop:/home/kayve/src#

  5. #5
    Super Moderator Sean4u's Avatar
    Join Date
    Jul 2011
    Location
    Tavistock, UK
    Posts
    637
    Thanks
    5
    Thanked 103 Times in 93 Posts

    Default Re: Confused Ubuntu-ist installing JDK7

    It looks to me as though you're installing 64-bit Java on a linux-pae system. I'm not convinced it *won't* work, but I have severe doubts that it will work properly. If I was using PAE, I think I'd install the 32-bit JVM. The reason is that even though PAE gives you access to more than 4GB RAM, your applications (I might have this bit wrong) can only access 4GB at once - as though they're stuck in a 32-bit bubble. If I was you, I'd either go 64-bit everything, or 32-bit everything. If you have more than 2GB in your PC, perhaps PAE + 32-bit Java is the right combination.

Similar Threads

  1. How to install the JDK on Ubuntu Linux
    By Brt93yoda in forum Java JDK & IDE Tutorials
    Replies: 2
    Last Post: July 9th, 2011, 07:18 AM
  2. Installing JMF, setting up Classpath in Netbeans Problem
    By chronoz13 in forum Java Theory & Questions
    Replies: 0
    Last Post: May 19th, 2011, 09:11 AM
  3. Replies: 3
    Last Post: March 1st, 2011, 02:18 PM
  4. Help running SQL queries in Ubuntu
    By Mic[RSA] in forum Java IDEs
    Replies: 0
    Last Post: June 29th, 2010, 12:53 PM
  5. Installation of JDK on linux Mandrive or Ubuntu
    By kut@all in forum Java Theory & Questions
    Replies: 1
    Last Post: May 21st, 2009, 02:06 PM