Installing Java in Linux

How to install java in Fedora linux?

sudo apt-get install sun-java6-jdk
in your console ...
or simply try and google
how to install java in fedora

Similar Messages

  • Seek help for install java under linux

    I have successfully installed java on linux , but not able to use many features tht i possibly could , such as jdbc , prblms on Mysql. most buggin prblm how do i set the compiler path to compile files from my home directory. i have to forcefully use the bin directory and run the complier given long address for the files. plz help.
    abhi

    abhi
    I don't know about your MySQL problems based on what you have posted - can you post any more specific information? Have you got the relevant MySQL drivers in your classpath? The drivers are available here:
    http://www.mysql.com/downloads/download.php?file=Downloads/Connector-J/mysql-connector-java-2.0.14.tar.gz
    the README in that file will give you installation instructions.
    how do i set the compiler path to compile files from my home directorySet the CLASSPATH environment variable to include whichever directories you like, eg (on bash) type:
    export CLASSPATH=$CLASSPATH:.:<your java dirs>To make java easier to run, put the directory in which it is installed into your path:
    export JAVA_HOME=<where you installed java>Then do
    export PATH=$PATH:$JAVA_HOME/binverify it has worked by simply typing
    javaYou can put all of these commands into the .*rc file for your shell, so that they are executed every time you open the shell. So if you are using bash you can put them into ~/.bashrc
    Read up setting the PATH and CLASSPATH for more info.
    HTH
    Matt

  • Install java in linux Redhat 9

    hello,
    i tryinh to install java in redhat 9 but i dont how i can install it or using command line to set the path as Windows
    can anyone help me,
    thx

    Here's a link to a website you might find helpful.
    http://cruisenews.net/install_java_on_redhat_9.html

  • Installing Java on Linux

    I would like learn how to program in jsp.
    I just installed Linux for the first time in my life last night.
    Now where do I start?

    You probably need a development tool. Depending on what youy really want to do, I would recommend
    1/ NetBeans IDE for learning Java and its APIs: http://www.netbeans.org (free and Open Source)
    2/ Sun Java Studio Creator for rapid and visual JSP development: http://developer.sun.com/jscreator (30day trial, $99)
    But there's also good old vi and and emacs of course.
    Try the Java Tutorial : http://java.sun.com/docs/books/tutorial/index.html
    -Alexis

  • Install Java on Linux

    Found an easy howto for newbies. http://home.bredband.no/gaulyk/java/tutorial/javaredhat.html

    You are a kind soul Jino, especially for the newbies, award yourself a few Duke Dollars and have a drink on me :D
    Have a nice Day
    Ironluca

  • Java in Linux

    Can I use Gtk components in my java applications?
    I tried to install java in linux. But I had lots of problems. So I decided to do this with a plan. Because I have to install lots of things or I made it hard for me.
    What shall I install and in which queue shall I install them? (JDK, JRE, Java studio or netbeans...)
    Thanks for any help...

    And can I use linux's textboxes, labels, chackboxes etc. in java?Well, I guess they're GTK's widgets you are talking about, not Linux's ...;) But, yes, according to these people: http://java-gnome.sourceforge.net/ "Since 1998, the java-gnome project has been offering Java bindings for the GTK widget toolkit and for the rich family of libraries making up the GNOME desktop."
    Meanwhile the little white angel figure waggles its finger and cautions:
    -- I've never used this software
    -- If you're new to Java, consider that it has a big API: that means lots of widgets and things to learn. If you add to this the task of learning to communicate between this language and another, this is looking like a lot of work. At least learn the language first!
    -- Using JNI (ie communicating at a low level with the OS) which this approach involves, may be a case of banging like h3ll on a square peg to force it into a round hole. At a minimum you lose OS independency (the freedom for your software to run on any* OS).
    But who listens to the little white angel figure? Good luck!
    * where any==possessing a jre; but note how I've dragged freedom into it!

  • How good is java in linux?

    I am a linux newbie and was planning to put linux on computer. I wanted to know how good java performs under linux. Is it faster? Is it slower? Also, I seen many people asking for help installing the 1.4.1 implementation. Is it tough to install java on linux ? Note: I plan on installing YellowDog Linux 3.0 when it's released on cd. YellowDog is for PPC's and I'm installing it because I've never had the chance to develop with the Java2 platform on Mac OS because my computer's G3 just can't handle OS X.
    Thanks.

    I don't know if there is a Linux-PPC version of Java available. And the versions listed on the download page for "Linux" are i386-based (unless otherwise explicitly specified).
    As far as Linux, goes: learn the system first before you try to jump into programming on it. "Raw" Unix-systems are VERY different, especially if you're coming straight from a Mac-OS. Get a good book and work through it. Linux is getting better at being a good "out-of-the-box" experience, but there's a lot of stuff in there...

  • Error while installing java and netBeans on Mandriva 2008 linux

    Here are all the lines which are printed on my console during the installation
    [beloo@localhost Desktop]$ ./jdk-6u4-nb-6_0_1-linux-ml.sh
    Configuring the installer...
    Searching for JVM on the system...
    Preparing bundled JVM ...
    Extracting installation data...
    Running the installer wizard...
    /usr/share/themes/Ia Ora Free/gtk-2.0/gtkrc:9: error: lexical error or unexpected token, expected valid token
    [beloo@localhost Desktop]$
    If anybody knows the solution please help me!
    ps: when i install java separated from netBeans i can succesfully install java, but NetBeans install does not starts.
    thx

    Here are all the lines which are printed on my console during the installation
    [beloo@localhost Desktop]$ ./jdk-6u4-nb-6_0_1-linux-ml.sh
    Configuring the installer...
    Searching for JVM on the system...
    Preparing bundled JVM ...
    Extracting installation data...
    Running the installer wizard...
    /usr/share/themes/Ia Ora Free/gtk-2.0/gtkrc:9: error: lexical error or unexpected token, expected valid token
    [beloo@localhost Desktop]$
    If anybody knows the solution please help me!
    ps: when i install java separated from netBeans i can succesfully install java, but NetBeans install does not starts.
    thx

  • Error while installing Java using jrockit on my Linux box

    I am trying to install java 1.6 using jrockit software in my 64-bit linux box, but I am getting errors:
    -bash-4.1$ ./jrockit-jdk1.6.0_45-R28.2.7-4.1.0-linux-x64.bin
    Extracting 0%....................................................................................................100%
    [JRockit] ERROR: The JVM has crashed. Writing crash information to /tmp/file06vBOV/jrockit.17485.dump.
    ===== BEGIN DUMP =============================================================
    JRockit dump produced after 0 days, 00:00:07 on Wed Apr 17 01:33:22 2013
    * If you see this dump, please go to *
    * http://download.oracle.com/docs/cd/E15289_01/go2troubleshooting.html *
    * for troubleshooting information. *
    Additional information is available in:
    /tmp/file06vBOV/jrockit.17485.dump
    No snapshot file (core dump) will be created because core dumps have been
    disabled. To enable core dumping, try "ulimit -c unlimited"
    before starting JRockit again.
    Error Message: Unhandled native exception [85]
    Signal info : si_signo=4, si_code=2 si_addr=0x30c5814be0
    Version : Oracle JRockit(R) R28.2.7-7-155314-1.6.0_45-20130329-0641-linux-x86_64
    CPU : Intel SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 Intel64
    Number CPUs : 4
    Tot Phys Mem : 16399638528 (15639 MB)
    OS version : Red Hat Enterprise Linux Server release 6.2 (Santiago)
    Linux version 2.6.39-100.5.1.el6uek.x86_64 ([email protected]) (gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC) ) #1 SMP Tue Mar 6 20:26:00 EST 2012 (x86_64)
    Hypervisor : Xen v3.4
    Thread System: Linux NPTL
    LibC release : 2.12-stable
    Java locking : Lazy unlocking enabled (class banning) (transfer banning)
    State : JVM is running
    Command Line : -Djava.io.tmpdir=/tmp -Dbea.installer.launcher.home=/slot/ems8308/oracle/endeca3.0/endeca-server -Xmx256m -Dsun.java.command=com.bea.plateng.wizard.WizardController -mode=gui -Dsun.java.launcher=SUN_STANDARD com.bea.plateng.wizard.WizardController -mode=gui
    Repository :
    java.home : /tmp/file06vBOV/jre160_45
    j.class.path : .:installer.jar:customtasks.jar:bids.jar:3rdparty.jar:jsr173_api.jar:wlw-plaf.jar:comdev.jar:wizard.jar:com.bea.cie.oui_1.1.0.0.jar:com.bea.core.xml.xmlbeans_2.2.0.0.jar
    j.lib.path : /usr/java/packages/lib/amd64:/tmp/file06vBOV/jre160_45/lib/amd64/jrockit:/tmp/file06vBOV/jre160_45/lib/amd64:/tmp/file06vBOV/jre160_45/../lib/amd64
    JAVA_HOME : <not set>
    JAVAOPTIONS: <not set>
    LD_LIBRARY_PATH: /tmp/file06vBOV/jre160_45/lib/amd64/jrockit:/tmp/file06vBOV/jre160_45/lib/amd64:/tmp/file06vBOV/jre160_45/../lib/amd64
    LD_ASSUME_KERNEL: <not set>
    LD_PRELOAD : <not set>
    StackOverFlow: 0 StackOverFlowErrors have occured
    OutOfMemory : 0 OutOfMemoryErrors have occured
    C Heap : Good; no memory allocations have failed
    GC Strategy : Mode: throughput, with strategy: genparpar (basic strategy: genparpar)
    GC Status : OC is not running. Last finished OC was OC#0.
    : YC is not running. Last finished YC was YC#0.
    YC History : Ran 0 YCs since last OC.
    Heap : 0xf0000000 - 0xf4000000 (Size: 64 MB)
    Compaction : (no compaction area)
    Allocation : TLA-min: 2048, TLA-preferred: 32768 TLA-waste limit: 2048
    NurseryList : 0xf0000000 - 0xf2000000
    KeepArea : 0xf17fffe8 - 0xf2000000
    KA Markers : [ 0xf0fffff0,  0xf17fffe8 , 0xf2000000 ]
    Forbidden A : (none)
    Previous KA : (none)
    Previous FA : (none)
    CompRefs : References are compressed, with heap base 0x0 and shift 0.
    Registers (from ThreadContext: 0x7fdf142e34c0:
    rax = 0000000000000001 rcx = 0000000017bee3ff
    rdx = 00000000bfebfbff rbx = 00007fdf10d7eb20
    rsp = 00007fdf142e3928 rbp = 00007fdf142e3a70
    rsi = 0000000000000000 rdi = 0000000000000058
    r8 = 0000000000000000 r9 = 0000000000000000
    r10 = 00007fdf142e38a0 r11 = 00007fdf10d7eb20
    r12 = 00007fdf142e3a98 r13 = 00007fdf10e049b0
    r14 = 0000000000000000 r15 = 0000000000000000
    cs = 0000000000000033 fs = 0000000000000000
    gs = 0000000000000000
    rip = 00000030c5814be0 flags = 0000000000010202
    Loaded modules:
    (* denotes the module where the exception occured)
    0000000000400000-00000000004128c3 /tmp/file06vBOV/jre160_45/bin/java
    00007fff26fff000-00007fff26fffa7c /tmp/file06vBOV/jre160_45/bin/java
    00000030c6400000-00000030c6401fef /lib64/libdl.so.2
    00000030c6800000-00000030c6816b37 /lib64/libpthread.so.0
    00000030c6000000-00000030c6196c1f /lib64/libc.so.6
    00000030c5800000-00000030c581f13f */lib64/ld-linux-x86-64.so.2
    00007fdf18b70000-00007fdf18e780e3 /tmp/file06vBOV/jre160_45/lib/amd64/jrockit/libjvm.so
    00007fdf1894e000-00007fdf1896d21b /tmp/file06vBOV/jre160_45/lib/amd64/libjrosal.so
    00007fdf18741000-00007fdf1874d553 /tmp/file06vBOV/jre160_45/lib/amd64/libjrutil.so
    00000030c6c00000-00000030c6c824e7 /lib64/libm.so.6
    00000030c7400000-00000030c740680b /lib64/librt.so.1
    00007fdf17c30000-00007fdf17c3c483 /tmp/file06vBOV/jre160_45/lib/amd64/libjfr.so
    00007fdf1718e000-00007fdf1719a317 /tmp/file06vBOV/jre160_45/lib/amd64/libverify.so
    00007fdf1705f000-00007fdf17087283 /tmp/file06vBOV/jre160_45/lib/amd64/libjava.so
    00000030d8600000-00000030d8615ceb /lib64/libnsl.so.1
    00007fdf16ed4000-00007fdf16eda5bf /tmp/file06vBOV/jre160_45/lib/amd64/native_threads/libhpi.so
    00007fdf16673000-00007fdf16680c03 /tmp/file06vBOV/jre160_45/lib/amd64/libzip.so
    00007fdf16055000-00007fdf160e7683 /tmp/file06vBOV/jre160_45/lib/amd64/libawt.so
    00007fdf15f07000-00007fdf15f4828b /tmp/file06vBOV/jre160_45/lib/amd64/xawt/libmawt.so
    00000030c9400000-00000030c9410d8b /usr/lib64/libXext.so.6
    00000030c8400000-00000030c8538423 /usr/lib64/libX11.so.6
    00000030d5400000-00000030d5404dbb /usr/lib64/libXtst.so.6
    00000030cac00000-00000030cac0e243 /usr/lib64/libXi.so.6
    00000030c8c00000-00000030c8c1a123 /usr/lib64/libxcb.so.1
    00000030c8800000-00000030c8801dd3 /usr/lib64/libXau.so.6
    00007fdf15c14000-00007fdf15ca7fcf /tmp/file06vBOV/jre160_45/lib/amd64/libfontmanager.so
    00007fdf159bb000-00007fdf159cdca7 /tmp/file06vBOV/jre160_45/lib/amd64/libnet.so
    00007fdf149b3000-00007fdf149b99a3 /tmp/file06vBOV/jre160_45/lib/amd64/libnio.so
    00007fdf147ac000-00007fdf147b1f9b /tmp/file06vBOV/jre160_45/lib/amd64/liborii.so
    00000030cb800000-00000030cb808d13 /usr/lib64/libXcursor.so.1
    00000030ca800000-00000030ca808cfb /usr/lib64/libXrender.so.1
    00000030cbc00000-00000030cbc0497b /usr/lib64/libXfixes.so.3
    00007fdeb2015000-00007fdeb206084b /tmp/file06vBOV/jre160_45/lib/amd64/libcmm.so
    00007fdeb0e44000-00007fdeb0e55d5b /tmp/file06vBOV/libjni.so
    Stack:
    (* marks the word pointed to by the stack pointer)
    00007fdf142e3928: 00000030c580aad8* 0000000000000000 0000000000000000 00007fdf00000005
    00007fdf142e3948: 0000000000000000 00007fdf00000001 00007fdf10e049b0 0000000000000000
    00007fdf142e3968: 00007fdf00000000 0000000000000000 0000000000000058 0000000000000004
    00007fdf142e3988: 00007fdf10e04d08 0000000000000013 00007fdf142e3a40 00007fdf0000000a
    00007fdf142e39a8: 00000001142e3aa0 00007fdf146d6b18 00007fdf15c15ff1 00007fdf142e3a30
    00007fdf142e39c8: 00000030c6078edf 00007fdf160585c8 00007fdf10d744e0 00007fdf146d6b18
    Code:
    (* marks the word pointed to by the instruction pointer)
    00000030c5814b80: 8b48ffff8c0ae820 0f0824548b482404 244c280f10244428 246cdb40246cdb20
    00000030c5814ba0: 241c8b48dc894830 001f0fc330c48348 75000020c3c13d83 000001b8db894925
    00000030c5814bc0: 01b8db894ca20f00 000000c1f7000000 9d0589d8f7027510 517800f8830020c3
    00000030c5814be0: 008025047ffdc564* 250c7ffdc5640000 7ffdc564000000a0 c564000000c02514
    00000030c5814c00: 000000e0251c7ffd 010025247ffdc564 252c7ffdc5640000 7ffdc56400000120
    00000030c5814c20: c564000001402534 00000160253c7ffd 8025047f0f6664c3 0c7f0f6664000000
    Last optimized methods:
    No methods optimized.
    Thread:
    "AWT-EventQueue-0" id=17 idx=0x4c tid=17508 lastJavaFrame=0x7fdf142e3b88
    Stack 0: start=0x7fdf142a4000, end=0x7fdf142e6000, guards=0x7fdf142a9000 (ok), forbidden=0x7fdf142a7000
    Thread Stack Trace:
    at dlx86_64_save_sse+48()@0x30c5814be0
    at dlfixup+223()@0x30c580df40
    -- Java stack --
    at sun/font/X11TextRenderer.doDrawGlyphList(JJLsun/java2d/pipe/Region;Lsun/font/GlyphList;)V(Native Method)
    at sun/font/X11TextRenderer.drawGlyphList(X11TextRenderer.java:62)
    at sun/java2d/pipe/GlyphListPipe.drawString(GlyphListPipe.java:54)
    at sun/java2d/SunGraphics2D.drawString(SunGraphics2D.java:2772)
    at sun/swing/SwingUtilities2.drawString(SwingUtilities2.java:510)
    at sun/swing/SwingUtilities2.drawStringUnderlineCharAt(SwingUtilities2.java:531)
    at javax/swing/plaf/basic/BasicGraphicsUtils.drawStringUnderlineCharAt(BasicGraphicsUtils.java:229)
    at workshop/core/plaf/JbButtonUI.paintText(JbButtonUI.java:676)
    at workshop/core/plaf/JbButtonUI.paint(JbButtonUI.java:600)
    at javax/swing/plaf/ComponentUI.update(ComponentUI.java:143)
    at javax/swing/JComponent.paintComponent(JComponent.java:760)
    at javax/swing/JComponent.paint(JComponent.java:1037)
    at javax/swing/JComponent.paintChildren(JComponent.java:870)
    at javax/swing/JComponent.paint(JComponent.java:1046)
    at javax/swing/JComponent.paintChildren(JComponent.java:870)
    at javax/swing/JComponent.paint(JComponent.java:1046)
    at javax/swing/JComponent.paintChildren(JComponent.java:870)
    at javax/swing/JComponent.paint(JComponent.java:1046)
    at javax/swing/JComponent.paintChildren(JComponent.java:870)
    at javax/swing/JComponent.paint(JComponent.java:1046)
    at javax/swing/JLayeredPane.paint(JLayeredPane.java:567)
    at javax/swing/JComponent.paintChildren(JComponent.java:870)
    at javax/swing/JComponent.paint(JComponent.java:1046)
    at javax/swing/JComponent.paintToOffscreen(JComponent.java:5132)
    at javax/swing/BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:278)
    at javax/swing/RepaintManager.paint(RepaintManager.java:1257)
    at javax/swing/JComponent._paintImmediately(JComponent.java:5080)
    at javax/swing/JComponent.paintImmediately(JComponent.java:4890)
    at javax/swing/RepaintManager$3.run(RepaintManager.java:814)
    at javax/swing/RepaintManager$3.run(RepaintManager.java:802)
    at jrockit/vm/AccessController.doPrivileged(AccessController.java:232)
    at java/security/AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at javax/swing/RepaintManager.paintDirtyRegions(RepaintManager.java:802)
    at javax/swing/RepaintManager.paintDirtyRegions(RepaintManager.java:745)
    at javax/swing/RepaintManager.prePaintDirtyRegions(RepaintManager.java:725)
    at javax/swing/RepaintManager.access$1000(RepaintManager.java:46)
    at javax/swing/RepaintManager$ProcessingRunnable.run(RepaintManager.java:1668)
    at java/awt/event/InvocationEvent.dispatch(InvocationEvent.java:209)
    at java/awt/EventQueue.dispatchEventImpl(EventQueue.java:672)
    at java/awt/EventQueue.access$400(EventQueue.java:81)
    at java/awt/EventQueue$2.run(EventQueue.java:633)
    at java/awt/EventQueue$2.run(EventQueue.java:631)
    at jrockit/vm/AccessController.doPrivileged(AccessController.java:232)
    at java/security/AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java/awt/EventQueue.dispatchEvent(EventQueue.java:642)
    at java/awt/EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java/awt/EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java/awt/EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java/awt/EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java/awt/EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java/awt/EventDispatchThread.run(EventDispatchThread.java:122)
    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
    -- end of trace
    Memory usage report:
    Total mapped 3004488KB (reserved=2700572KB)
    - Java heap 262144KB (reserved=196608KB)
    - GC tables 8780KB
    - Thread stacks 13212KB (#threads=20)
    - Compiled code 1048576KB (used=2746KB)
    - Internal 1352KB
    - OS 174888KB
    - Other 1477872KB
    - Classblocks 1024KB (malloced=946KB #2264)
    Not tracing sites.
    - Java class data 15616KB (malloced=15591KB #10424 in 2264 classes)
    Not tracing sites.
    - Native memory tracking 1024KB (malloced=174KB #10)
    Not tracing sites.
    Set the env variable TRACE_ALLOC_SITES=1 or use the print_memusage switch
    trace_alloc_sites=true to enable alloc site tracing.
    * If you see this dump, please go to *
    * http://download.oracle.com/docs/cd/E15289_01/go2troubleshooting.html *
    * for troubleshooting information. *
    ===== END DUMP ===============================================================
    ** Error during execution, error code = 134.
    Please help me how to solve this issue.

    I suggest trying to install a different version to confirm the error. Do you have SELinux enabled? It can cause weird errors. You can check the syslog /var/adm/messages to see if there were any SELinux errors.
    The following is known to work:
    Oracle Linux with jrockit
    Oracle Linux with jrockit

  • I am using Mandriva Linux now and I have installed Firefox 6 but I could not install Java plugin with it. Can anyone please help me how to install it?

    I am using Mandriva Linux now.
    But I am using Firefox 3.6.8, but I cannot install java plugin in it.
    Can anyone please help me how to install it?

    The plugins folder in the Firefox installation folder doesn't exist by default. There is no default plugin in Firefox 4, so that folder would be empty and in thus not included. If you want to use that location then you need to create a plugins folder.
    Did you try /usr/lib/mozilla/plugins ?

  • Installing Java 8 SE on Debian - Linux

    What is the recommended way to install Java 8 SE on Debian (32-bit or 64-bit):
    1) As explained on this page JDK Installation for Linux Platforms
    Installation of the 32-bit JDK on Linux Platforms
    This procedure installs the Java Development Kit (JDK) for 32-bit Linux, using an archive binary file (.tar.gz).
    These instructions use the following file:
    jdk-8uversion-linux-i586.tar.gz
    Download the file.Before the file can be downloaded, you must accept the license agreement. The archive binary can be installed by anyone (not only root users), in any location that you can write to. However, only the root user can install the JDK into the system location.
    Change directory to the location where you would like the JDK to be installed, then move the .tar.gz archive binary to the current directory.
    Unpack the tarball and install the JDK.% tar zxvf jdk-8uversion-linux-i586.tar.gz
    The Java Development Kit files are installed in a directory called jdk1.8.0_version in the current directory.
    Delete the .tar.gz file if you want to save disk space.
    or
    2) su -
    echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee /etc/apt/sources.list.d/webupd8team-java.list
    echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list
    apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886 apt-get update
    apt-get
    install oracle-java8-installer
    exit
    Thanks.

    The recommended way to install Java 8 on Debian is apt-get install openjdk-8-jre, but you'll have to wait until that package actually exists, which is not the case yet. Neither of the above ways you mention are recommended on Debian, but both should be working.

  • Installing Java EE SDK on 64-bit Red Hat Linux

    I've went through a lot of pain to get J2EE SDK / GlassFish server on a AMD64 Red Hat Enterprise Linux 5 server box. Maybe it helps somebody.
    Long story short, it all seems to boil down to the fact that the J2EE Linux .bin (non-RPM) packages Sun provides require a 32-bit JVM running. So if you just installed 64-bit JDK you're toasted.
    Chronicle of pain and solution below:
    Downloaded the Linux packages for full EE5 SDK, also the bundle for GlassFish from http://java.sun.com/javaee/downloads/
    Tried ./java_ee_sdk-5_08-jdk-6u17-linux.bin No luck. First I didn't have libstdc++.so.5 but so.6. I did
    yum install compat-libstdc++-33
    Tried again. It hanged:
    *** glibc detected *** ... double free or corruption error
    Downloaded the JDK RPM version. It worked fine:
    # java -version
    java version "1.6.0_17"
    Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
    Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)
    Let's go again with EE SDK. Nope. Different error this time:
    *** glibc detected *** ./java_ee_sdk-5_08-jdk-6u17-linux.bin: malloc(): memory corruption: 0x0992d2c0 ***
    Tried setting env variable MALLOC_CHECK_:
    export MALLOC_CHECK_=0
    New error, but no hanging this time:
    Attach to native process failed
    Realized that JDK packages were platform-specific, unlike J2EE packages. Googled this: http://forums.java.net/jive/thread.jspa?threadID=37370
    Downloaded 32-bit JRE (i586, not 64-bit) RPM package and installed it.
    Redirected default java link to 32-bit JRE's JVM:
    cd /usr/java/
    unlink latest
    ln -s jre1.6.0_17/ latest
    Run installer again, explicitly saying where was the JVM the installer needed:
    cd /tmp
    ./java_ee_sdk-5_08-jdk-6u17-linux.bin -javahome /usr/java/jre1.6.0_17
    It worked! :-)
    Then reverted back to JDK's 64-bit JVM:
    cd /usr/java/
    unlink latest
    ln -s jdk1.6.0_17/ latest
    Hope this works for you too.

    This is very close to my problem,
    32 bit Fedora release 11 (Leonidas)
    ls -lh java_ee_sdk-5_08-jdk-6u17-linux.bin
    -rwxrwxr-x. 1 morten morten 161M 2009-11-17 20:18 java_ee_sdk-5_08-jdk-6u17-linux.bin
    md5sum java_ee_sdk-5_08-jdk-6u17-linux.bin
    dc71fc44ce1d10c1a9d53edde4ff858f java_ee_sdk-5_08-jdk-6u17-linux.bin
    should be a correct download.
    chmod a+x java_ee_sdk-5_08-jdk-6u17-linux.bin
    # ./java_ee_sdk-5_08-jdk-6u17-linux.bin
    ./java_ee_sdk-5_08-jdk-6u17-linux.bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
    same error as you reports. There was also an error and IIRC an incompatibility with the latest java plug in for firefox .
    # find / -name '*plugin*' -print | grep firefox
    /home/morten/.mozilla/firefox/kpsa4zom.default/pluginreg.dat
    /home/morten/.mozilla/firefox/g59tp699.default/pluginreg.dat
    /usr/lib/firefox-3.5.5/searchplugins
    # find / -name libjavaplugin_oji.so -print
    /usr/java/jre1.6.0_17/plugin/i386/ns7/libjavaplugin_oji.so
    /usr/java/jre1.6.0_17/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
    cd /usr/lib/firefox-3.5.5/searchplugins
    # ls -l | grep java
    lrwxrwxrwx. 1 root root 58 2009-11-17 19:42 libjavaplugin_oji.so -> /usr/java/jre1.6.0_17/plugin/i386/ns7/libjavaplugin_oji.so
    It did not work on first attempt.
    I just wanted to report that similar problems may occur, and I will try your suggestions. If someone knows other details about this topic JDK on Fedora or Red Hat based Linux, please comment.
    The instructions from here:
    How do I download and install Java for my Linux computer?:
    http://java.com/en/download/help/5000010500.xml#rpm
    Java Downloads for Linux Recommended Version 6 Update 17
    did not work as documented. On my 32 bit fedora 11.

  • Installing Java stuido on linux...

    Hi;
    I try to install java studio enterprise 8.1 to my ubuntu. The problem is thatI get this error: "No compatible Java SE Runtime Environment (JRE) was found on this system." But I have downloaded ands installed "jre-6u1-linux-i586.bin" which is Java runtime environment 6. So where is the problem how can solve this problem?

    - Please take a look at:
    http://wiki.netbeans.org/wiki/view/FaqSuitableJvmNotFound
    jre-6u1-linux-i586.bin is the runtime. You will need to download and install the full JDK from http://java.sun.com/javase/downloads/index.jsp .
    JDK = Java Development Kit , used for developing java programs.
    JRE = Java Runtime Environment, a subset of JDK, used for executing java programs. The end user machines will need only JRE installations but developers will need to install JDK.
    - Java Studio Enterprise 8.1 is built on top of NetBeans 5.0. I would like to suggest that you consider using the latest NetBeans 5.5.1 (oe even latest milestone build of NetBeans 6.0) instead of JSE8.1. NetBeans 5.5.1 has add-on packs that support all the features of JSE8.1 (except portletbuilder).
    http://www.netbeans.info/downloads/index.php
    There are installer bundles available which include both NetBeans and JDK.
    Docs : http://www.netbeans.org/kb/index.html
    NetBeans is an opensource project and the community portal provides access to several community resources.

  • Installing java ee sdk (java_ee_sdk-6u1-jdk-linux-x64.sh) on x64 linux

    Hello guys, this is my first post here :) so don't bash me too much.
    Trying to get the Java EE installed on gentoo linux x86-64 here. Downloaded java_ee_sdk-6u1-jdk-linux-x64.sh from oracle.com.
    I have tried different jres:
    32 bit, 64 bit.
    now I have this jre :
    ak@pussy ~/0.java $ java -version
    java version "1.6.0_20"
    Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
    Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)so, doing ak@pussy ~/0.java $ ./java_ee_sdk-6u1-jdk-linux-x64.sh gives me nasty file not found exception & hence I can't get sdk installed:
    [#|2010-08-04T20:32:13.704+06:00|INFO|Install Engine|org.openinstaller.provider.task.TaskDriver|arg0=prod\=glassfish|OP_UNCONFIGURE:Unconfiguring product|#]
    [#|2010-08-04T20:32:13.781+06:00|INFO|Install Engine|org.openinstaller.provider.conf.ConfiguratorFactory|arg0=class org.openinstaller.provider.conf.InstallationConfigurator|LOG_INFO:Info|#]
    [#|2010-08-04T20:32:14.210+06:00|INFO|Install Engine|org.openinstaller.provider.conf.InstallationConfigurator||Unconfiguring GlassFish:\[Unconfiguring GlassFish\]*\[{0} {1}\]|#]
    [#|2010-08-04T20:32:14.232+06:00|INFO|Install Engine|org.openinstaller.provider.task.TaskDriver|arg0=prod\=jdk|OP_UNCONFIGURE:Unconfiguring product|#]
    [#|2010-08-04T20:32:14.264+06:00|INFO|Install Engine|org.openinstaller.provider.conf.InstallationConfigurator||Unconfiguring JDK:\[Unconfiguring JDK\]*\[{0} {1}\]|#]
    [#|2010-08-04T20:32:14.289+06:00|INFO|Install Engine|org.openinstaller.provider.task.TaskDriver|arg0=prod\=updatetool|OP_UNCONFIGURE:Unconfiguring product|#]
    [#|2010-08-04T20:32:14.318+06:00|INFO|Install Engine|org.openinstaller.provider.conf.InstallationConfigurator||Unconfiguring Updatetool:\[Unconfiguring Updatetool\]*\[{0} {1}\]|#]
    [#|2010-08-04T20:32:14.319+06:00|INFO|Install Engine|org.openinstaller.provider.conf.InstallationConfigurator||Installation directory: /home/ak/0.java/glassfishv3:\[Installation directory: /home/ak/0.java/glassfishv3\]*\[{0} {1}\]|#]
    [#|2010-08-04T20:32:14.322+06:00|INFO|Install Engine|org.openinstaller.provider.conf.InstallationConfigurator||Shutting down notifier process:\[Shutting down notifier process\]*\[{0} {1}\]|#]
    [#|2010-08-04T20:32:14.353+06:00|INFO|Install Engine|org.openinstaller.provider.conf.InstallationConfigurator||Exception while unregistering notifier: Exception=EXECUTECMD_ERR
    at org.openinstaller.util.ExecuteCommand.execute(ExecuteCommand.java:467)
    at org.openinstaller.provider.conf.InstallationConfigurator.unconfigureUpdatetool(null:?)
    at org.openinstaller.provider.conf.InstallationConfigurator.unConfigure(null:?)
    at org.openinstaller.provider.conf.ConfigProvider.receiveRequest(ConfigProvider.java:573)
    at org.openinstaller.bus.ControlBus.publishRequest(ControlBus.java:341)
    at org.openinstaller.provider.task.UnconfigTask.perform(UnconfigTask.java:88)
    at org.openinstaller.provider.task.TaskDriver.executeTask(TaskDriver.java:378)
    at org.openinstaller.provider.task.TaskProvider.receiveRequest(TaskProvider.java:117)
    at org.openinstaller.bus.ControlBus$3.run(ControlBus.java:404)
    at java.lang.Thread.run(Thread.java:619)
    Caused By=java.io.IOException: Cannot run program "/home/ak/0.java/glassfishv3/updatetool/bin/updatetool": java.io.IOException: error=2, No such file or directory
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
    at java.lang.Runtime.exec(Runtime.java:593)
    at java.lang.Runtime.exec(Runtime.java:509)
    at org.openinstaller.util.ExecuteCommand.execute(ExecuteCommand.java:423)
    at org.openinstaller.provider.conf.InstallationConfigurator.unconfigureUpdatetool(null:?)
    at org.openinstaller.provider.conf.InstallationConfigurator.unConfigure(null:?)
    at org.openinstaller.provider.conf.ConfigProvider.receiveRequest(ConfigProvider.java:573)
    at org.openinstaller.bus.ControlBus.publishRequest(ControlBus.java:341)
    at org.openinstaller.provider.task.UnconfigTask.perform(UnconfigTask.java:88)
    at org.openinstaller.provider.task.TaskDriver.executeTask(TaskDriver.java:378)
    at org.openinstaller.provider.task.TaskProvider.receiveRequest(TaskProvider.java:117)
    at org.openinstaller.bus.ControlBus$3.run(ControlBus.java:404)
    at java.lang.Thread.run(Thread.java:619)
    Context-Items=[[method=org.openinstaller.util.ExecuteCommand.execute(), operation=EXECUTECMD_ERR, command=[/home/ak/0.java/glassfishv3/updatetool/bin/updatetool, --notifier, --shutdown]]]:\[Exception while unregistering notifier: Exception=EXECUTECMD_ERR
    at org.openinstaller.util.ExecuteCommand.execute(ExecuteCommand.java:467)
    at org.openinstaller.provider.conf.InstallationConfigurator.unconfigureUpdatetool(null:?)
    at org.openinstaller.provider.conf.InstallationConfigurator.unConfigure(null:?)
    at org.openinstaller.provider.conf.ConfigProvider.receiveRequest(ConfigProvider.java:573)
    at org.openinstaller.bus.ControlBus.publishRequest(ControlBus.java:341)
    at org.openinstaller.provider.task.UnconfigTask.perform(UnconfigTask.java:88)
    at org.openinstaller.provider.task.TaskDriver.executeTask(TaskDriver.java:378)
    at org.openinstaller.provider.task.TaskProvider.receiveRequest(TaskProvider.java:117)
    at org.openinstaller.bus.ControlBus$3.run(ControlBus.java:404)
    at java.lang.Thread.run(Thread.java:619)
    Caused By=java.io.IOException: Cannot run program "/home/ak/0.java/glassfishv3/updatetool/bin/updatetool": java.io.IOException: error=2, No such file or directory
    .and so on

    I guess this should give more details about issues I am having :
    Using the user defined JAVA_HOME : /home/ak/0.java/jre1.6.0_21_64
    Entering setup...
    WARNING: Warning: Could not detect OS Architecture, falling back to os.arch [Architecture=GenuineIntel ]
    FINE: completed initializing provider svc://general/orchestrator
    FINEST: Ignoring blank answer file or syntax error in ,file:///tmp/install.080510113914/install.properties
    FINEST: BGImagePanel() called by org.openinstaller.util.ui.StandaloneSplash?<init>
    FINEST: BGImagePanel.setBgImage(Image BufferedImage@1c5d9084: type = 5 ColorModel: #pixelBits = 24 numComponents = 3 color space = java.awt.color.ICC_ColorSpace@42bad8a8 transparency = 1 has alpha = false isAlphaPre = false ByteInterleavedRaster: width = 728 height = 435 #numDataElements 3 dataOff[0] = 2) called by org.openinstaller.util.ui.StandaloneSplash?<init>
    FINE: DISCOVERING_SERVICE_PROVIDERS
    FINE: Not instantiating null - not a ServiceProvider
    Exception=null
    at java.net.URLClassLoader$1.run(null:?)
    at java.security.AccessController.doPrivileged(null:?)
    at java.net.URLClassLoader.findClass(null:?)
    at org.openinstaller.core.EngineBootstrap.findClass(EngineBootstrap.java:249)
    at java.lang.ClassLoader.loadClass(null:?)
    at org.openinstaller.core.EngineBootstrap.loadClass(EngineBootstrap.java:357)
    at java.lang.ClassLoader.loadClass(null:?)
    at org.openinstaller.core.EngineBootstrap.loadClass(EngineBootstrap.java:318)
    at java.lang.Class.forName0(null:?)
    at java.lang.Class.forName(null:?)
    at org.openinstaller.core.Orchestrator.findServiceProviders(Orchestrator.java:763)
    at org.openinstaller.core.Orchestrator.main(Orchestrator.java:447)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(null:?)
    at sun.reflect.NativeMethodAccessorImpl.invoke(null:?)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(null:?)
    at java.lang.reflect.Method.invoke(null:?)
    at org.openinstaller.core.EngineBootstrap.main(EngineBootstrap.java:208)
    FINE: FOUND_SERVICE_PROVIDER
    FINE: FOUND_SERVICE_PROVIDER
    FINE: FOUND_SERVICE_PROVIDER
    FINE: FOUND_SERVICE_PROVIDER
    FINE: FOUND_SERVICE_PROVIDER
    FINE: FOUND_SERVICE_PROVIDER
    FINE: FOUND_SERVICE_PROVIDER
    FINE: FOUND_SERVICE_PROVIDER
    FINE: FOUND_SERVICE_PROVIDER
    FINE: FOUND_SERVICE_PROVIDER
    FINE: DISCOVERED_SERVICE_PROVIDERS
    FINE: completed initializing provider svc://general/system
    FINE: completed initializing provider svc://general/name
    FINE: completed initializing provider svc://general/product
    FINEST: Initializing configuration provider
    FINEST: BusRequest For: [svc://general/EngineConfig] Request: [BusRequest: name: ConfigRequest data: EngineConfigCommand{ cmd=GET_CONFIG, data=MEDIA_LOCATION}] By: [org.openinstaller.util.install.Common.getMediaLocationURL(*)
    FINEST: BusRequest For: [svc://general/EngineConfig] Request: [BusRequest: name: ConfigRequest data: EngineConfigCommand{ cmd=GET_CONFIG, data=MEDIA_LOCATION}] By: [org.openinstaller.util.install.Common.getMediaLocationURL(*)
    FINEST: BusRequest For: [svc://general/EngineConfig] Request: [BusRequest: name: ConfigRequest data: EngineConfigCommand{ cmd=GET_CONFIG, data=MEDIA_LOCATION}] By: [org.openinstaller.util.install.Common.getMediaLocationURL(*)
    FINE: completed initializing provider svc://general/task
    FINEST: BusRequest For: [svc://general/EngineConfig] Request: [BusRequest: name: Mode-Request data: EngineConfigCommand{ cmd=GET_CONFIG, data=DRY_RUN_FILE}] By: [org.openinstaller.provider.sims.SIMSProvider.init(*)
    FINEST: BusRequest For: [svc://general/EngineConfig] Request: [BusRequest: name: EngineConfigRequest data: EngineConfigCommand{ cmd=GET_CONFIG, data=PLATFORM_PLUGIN_PATH}] By: [org.openinstaller.provider.platform.SystemInterface.init(*)
    FINE: completed initializing provider svc://general/operation
    FINEST: BusRequest For: [svc://general/EngineConfig] Request: [BusRequest: name: ModeRequest data: EngineConfigCommand{ cmd=GET_CONFIG, data=PKG_FORMAT}] By: [org.openinstaller.sims.BackendFactory.discoverBackend(*)
    FINE: LOADING_CLASS
    FINE: Can't load SIMS backend org.openinstaller.sims.backends.zip.unix.linux.SIMSBackend
    Exception=org.openinstaller.sims.backends.zip.unix.linux.SIMSBackend
    at java.net.URLClassLoader$1.run(null:?)
    at java.security.AccessController.doPrivileged(null:?)
    at java.net.URLClassLoader.findClass(null:?)
    at org.openinstaller.core.EngineBootstrap.findClass(EngineBootstrap.java:249)
    at java.lang.ClassLoader.loadClass(null:?)
    at org.openinstaller.core.EngineBootstrap.loadClass(EngineBootstrap.java:357)
    at java.lang.ClassLoader.loadClass(null:?)
    at org.openinstaller.core.EngineBootstrap.loadClass(EngineBootstrap.java:318)
    at java.lang.Class.forName0(null:?)
    at java.lang.Class.forName(null:?)
    at org.openinstaller.sims.BackendFactory.getBackendByClass(BackendFactory.java:146)
    at org.openinstaller.sims.BackendFactory.discoverBackend(BackendFactory.java:112)
    at org.openinstaller.sims.BackendFactory.getBackend(BackendFactory.java:80)
    at org.openinstaller.sims.SIMSContext.<init>(SIMSContext.java:131)
    at org.openinstaller.provider.sims.SIMSProvider.init(SIMSProvider.java:95)
    at org.openinstaller.bus.ControlBus$1.run(ControlBus.java:192)
    at java.lang.Thread.run(null:?)
    ]

  • How to install java under suse linux 8.0 prof

    hi,
    first of all, i'm a newbie.
    i have downloaded the file j2re-1_4_0_01-linux-i586.bin into my public_html directory.
    which comand do i have to use to install java??
    please help!
    best regards
    Mad Elk

    I found this on Sun's Site, it should help. If it is a bin file, you should just have to type whateverItIsCalled.bin and hit enter. Make sure it is in the directory you want to install it in!
    Installation of Self-Extracting Binary
    Use the following instructions if you want to use the self-extracting binary file to install the Java 2 SDK. If you want to install RPM packages instead, see Installation of RPM File.
    1. Check the download file size.
    Before you download a file, notice that its byte size is provided on the download page. Once the download has completed, check that you have downloaded the full, uncorrupted software file.
    2. Copy j2sdk-1_3_1_<version number>-linux-i586.bin to the directory into which you want to install the Java 2 SDK.
    3. Run j2sdk-1_3_1_<version number>-linux-i586.bin
    Launch the executable file you downloaded, j2sdk-1_3_1_<version number>-linux-i586.bin, by using the following commands from the directory in which it is located:
    chmod a+x j2sdk-1_3_1_<version number>-linux-i586.bin
    ./j2sdk-1_3_1_<version number>-linux-i586.bin
    The script will display a binary license agreement, which you will be asked to agree to before installation can proceed. Once you have agreed to the license, the install script will install the Java 2 SDK in a directory named jdk1.3.1_<version number> in the current directory.
    Note about root access - Unbundling the software automatically creates a directory called jdk1.3.1_<version number>. If you choose to install the Java 2 SDK into system-wide location such as /usr/local, you must first become root to gain the necessary permissions. If you do not have root access, simply install the Java 2 SDK into your home directory, or a subdirectory that you have permission to write to.
    Note about overwriting files - If you unpack the software or documentation in a directory that contains a subdirectory named jdk1.3.1_<version number>, the new software will overwrite files of the same name in that jdk1.3.1_<version number> directory. Be careful to rename the old directory if it contains files you would like to keep.

Maybe you are looking for

  • My Macbook Pro won't boot up, only in safe mode!

    Help, my macbook pro won't restart, only in safe mode! and it seems that safe mode has plenty of implications for use.  my usb memory stick doesn't seem to be recognized while in safe mode.  I was doing a cleanup on mackeeper just after I downloaded

  • Organizing music btwn  iTunes & Touch 3g

    I have my music orginzed a certain way in iTunes and when it's synced with the Touch its not in the same order on the touch. Example: Newly added songs are in alphabetical order in iTunes on the Touch they are not in alphabetical order under newly ad

  • What is the best way to display text?

    Hi, I am developing a full screen presentation. I like to know which is the best way to display text with different styles and fonts. When i use JLabel, i have to use HTML. But the presentation is not good as it does not have anti-alias property. Als

  • Progress bar (app.thermometer) ???

    Need to display a progress bar using thermomter object while invoking a web service. Lets assume the function loadWebService() has the logic to connect and retrieve data from a web service. Can anyone drop a few lines of code to implement this logic?

  • CS5 and ACR 7.4

    Can I update ACR in CS5 to 7.4 or is that strictly for CS6? When I attempt to take images from LR4.4 to CS5 HDR Pro a pop up states that I should update ACR to 7.4.