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

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

  • 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

  • Installing ocfs2 on Linux RedHat 4 update 3 (64 bit)

    OCFS2 being now certified on Linux RedHat 64 bit (since June second), we installed it on our Linux server.
    Our kernel is:
    $ rpm -qa | grep kernel
    kernel-2.6.9-34.EL
    kernel-smp-2.6.9-34.0.1.EL
    kernel-smp-2.6.9-34.EL
    kernel-utils-2.4-13.1.80
    I got errors when trying to load ocfs2:
    [root@db-red4-srv01 oracle]# /etc/init.d/o2cb status
    Module "configfs": Not loaded
    Filesystem "configfs": Not mounted
    Module "ocfs2_nodemanager": Not loaded
    Module "ocfs2_dlm": Not loaded
    Module "ocfs2_dlmfs": Not loaded
    Filesystem "ocfs2_dlmfs": Not mounted
    [root@db-red4-srv01 oracle]# /etc/init.d/o2cb load
    Loading module "configfs": Unable to load module "configfs"
    Failed
    [root@db-red4-srv01 oracle]# /etc/init.d/o2cb online ocfs2
    Loading module "configfs": Unable to load module "configfs"
    Failed
    Also when trying to configure the nodes using ocfs2console, I get the following error:
    #ocfs2console
    -> cluster
    -> configure nodes
    Could not start cluster stack. This must be resolved
    before any ocfs2 fileysystem can be mounted.
    Anyone has an idea?

    Hello Jiang
    I am facing the same error while installing ocfs2 on RHEL4 and here is last 20 lines from my dmesg,
    device-mapper: dm-multipath version 1.0.5 loaded
    kjournald starting. Commit interval 5 seconds
    EXT3 FS on sda1, internal journal
    EXT3-fs: mounted filesystem with ordered data mode.
    Adding 1736696k swap on /dev/VolGroup00/LogVol01. Priority:-1 extents:1
    parport0: PC-style at 0x378 [PCSPP,TRISTATE]
    ip_tables: (C) 2000-2002 Netfilter core team
    ip_tables: (C) 2000-2002 Netfilter core team
    ip_tables: (C) 2000-2002 Netfilter core team
    configfs: disagrees about version of symbol struct_module
    i2c /dev entries driver
    eth0: no IPv6 routers present
    eth1: no IPv6 routers present
    Hangcheck: starting hangcheck timer 0.9.0 (tick is 30 seconds, margin is 180 seconds).
    Hangcheck: Using get_cycles().
    mtrr: your processor doesn't support write-combining
    configfs: disagrees about version of symbol struct_module
    configfs: disagrees about version of symbol struct_module
    configfs: disagrees about version of symbol struct_module
    configfs: disagrees about version of symbol struct_module
    Following is the output of ocfs2 packages installed.
    uname -r
    2.6.9-89.ELsmp
    #rpm -qa --qf "%{NAME}-%{VERSION}-%{RELEASE}_%{ARCH}
    n" |grep ocfs2
    nocfs2console-1.2.7-1.el4_i386
    nocfs2-tools-1.2.7-1.el4_i386
    nocfs2-2.6.9-89.EL-1.2.9-1.el4_i686
    nocfs2-2.6.9-89.ELsmp-1.2.9-1.el4_i686
    Appreciate if anyone could help me.
    Thanks,
    Anil

  • 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...

  • Installing Java 1.3.1 unto RedHat Linux 6.2

    Hi,
    I have been trying to install java 1.3.1 unto my linux redhat 6.2. After installation, and setting the path (I believe, that is the origin of the problem), I typed in
    java -version
    In other to get the version, and confirm the complier is working. I got the following below. Can someone please tell me what path, and commands I should enter on my /etc/profile file. Please tell me every single step, I have to type, as I am a new java programmer. Thanks for your time, and do have a nice day. My email address is [email protected].
    When I typed in java -version , I got:
    ================================================================================
    Unexpected Signal : 4 occurred at PC=0x8067b23
    Function name=(N/A)
    Library=(N/A)
    NOTE: We are unable to locate the function name symbol for the error
    just occurred. Please refer to release documentation for possible
    reason and solutions.
    Current Java thread:
    Dynamic libraries:
    08048000-0804c000 r-xp 00000000 03:03 256621 /usr/local/jdk1.3.1_01/bin/i386/native_threads/java
    0804c000-0804d000 rw-p 00003000 03:03 256621 /usr/local/jdk1.3.1_01/bin/i386/native_threads/java
    40000000-40013000 r-xp 00000000 03:03 31880 /lib/ld-2.1.3.so
    40013000-40014000 rw-p 00012000 03:03 31880 /lib/ld-2.1.3.so
    40015000-40016000 r--p 00000000 03:03 398417 /usr/share/locale/en_US/LC_MESSAGES/SYS_LC_MESSAGES
    40016000-40017000 r--p 00000000 03:03 254988 /usr/share/locale/en_US/LC_MONETARY
    40017000-40018000 r--p 00000000 03:03 254990 /usr/share/locale/en_US/LC_TIME
    40018000-40019000 r--p 00000000 03:03 254989 /usr/share/locale/en_US/LC_NUMERIC
    4001b000-40026000 r-xp 00000000 03:03 31926 /lib/libpthread-0.8.so
    40026000-4002d000 rw-p 0000a000 03:03 31926 /lib/libpthread-0.8.so
    4002e000-40037000 r-xp 00000000 03:03 400962 /usr/local/jdk1.3.1_01/jre/lib/i386/native_threads/libhpi.so
    40037000-40038000 rw-p 00008000 03:03 400962 /usr/local/jdk1.3.1_01/jre/lib/i386/native_threads/libhpi.so
    40038000-40225000 r-xp 00000000 03:03 209730 /usr/local/jdk1.3.1_01/jre/lib/i386/client/libjvm.so
    40225000-4031b000 rw-p 001ec000 03:03 209730 /usr/local/jdk1.3.1_01/jre/lib/i386/client/libjvm.so
    40332000-40334000 r-xp 00000000 03:03 31896 /lib/libdl-2.1.3.so
    40334000-40336000 rw-p 00001000 03:03 31896 /lib/libdl-2.1.3.so
    40337000-40424000 r-xp 00000000 03:03 31887 /lib/libc-2.1.3.so
    40424000-40428000 rw-p 000ec000 03:03 31887 /lib/libc-2.1.3.so
    4042c000-4043e000 r-xp 00000000 03:03 31900 /lib/libnsl-2.1.3.so
    4043e000-40440000 rw-p 00011000 03:03 31900 /lib/libnsl-2.1.3.so
    40442000-4045e000 r-xp 00000000 03:03 31898 /lib/libm-2.1.3.so
    4045e000-4045f000 rw-p 0001b000 03:03 31898 /lib/libm-2.1.3.so
    4045f000-40493000 r-xp 00000000 03:03 255265 /usr/lib/libstdc++-2-libc6.1-1-2.9.0.so
    40493000-4049f000 rw-p 00033000 03:03 255265 /usr/lib/libstdc++-2-libc6.1-1-2.9.0.so
    404a1000-404b2000 r-xp 00000000 03:03 256838 /usr/local/jdk1.3.1_01/jre/lib/i386/libverify.so
    404b2000-404b4000 rw-p 00010000 03:03 256838 /usr/local/jdk1.3.1_01/jre/lib/i386/libverify.so
    404b4000-404d5000 r-xp 00000000 03:03 256829 /usr/local/jdk1.3.1_01/jre/lib/i386/libjava.so
    404d5000-404d7000 rw-p 00020000 03:03 256829 /usr/local/jdk1.3.1_01/jre/lib/i386/libjava.so
    404d8000-404ec000 r-xp 00000000 03:03 256839 /usr/local/jdk1.3.1_01/jre/lib/i386/libzip.so
    404ec000-404ef000 rw-p 00013000 03:03 256839 /usr/local/jdk1.3.1_01/jre/lib/i386/libzip.so
    404ef000-4121d000 r--s 00000000 03:03 256572 /usr/local/jdk1.3.1_01/jre/lib/rt.jar
    4124a000-414ef000 r--s 00000000 03:03 256565 /usr/local/jdk1.3.1_01/jre/lib/i18n.jar
    414ef000-41505000 r--s 00000000 03:03 256573 /usr/local/jdk1.3.1_01/jre/lib/sunrsasign.jar
    4960f000-49625000 r--p 00000000 03:03 254987 /usr/share/locale/en_US/LC_CTYPE
    49625000-4962d000 r--p 00000000 03:03 254986 /usr/share/locale/en_US/LC_COLLATE
    49633000-4963b000 r-xp 00000000 03:03 31918 /lib/libnss_files-2.1.3.so
    4963b000-4963c000 rw-p 00007000 03:03 31918 /lib/libnss_files-2.1.3.so
    Local Time = Wed Oct 31 14:23:31 2001
    Elapsed Time = 1
    # HotSpot Virtual Machine Error : 4
    # Error ID : 4F530E43505002C4
    # Please report this error at
    # http://java.sun.com/cgi-bin/bugreport.cgi
    # Java VM: Java HotSpot(TM) Client VM (1.3.1_01 mixed mode)
    ==================================================================================

    Hi,
    I have been trying to install java 1.3.1 unto my linux
    redhat 6.2. After installation, and setting the path
    (I believe, that is the origin of the problem), I
    typed in
    java -version
    In other to get the version, and confirm the complier
    is working. I got the following below. Can someone
    please tell me what path, and commands I should enter
    on my /etc/profile file. Please tell me every single
    step, I have to type, as I am a new java programmer.
    Thanks for your time, and do have a nice day. <start of commands>
    export JAVA_HOME=<where jdk1.3.1 directory lives, possibly /usr/local/jdk1.3.1>
    export CLASSPATH=.:$JAVA_HOME/jre/lib/rt.jar
    export PATH=$PATH:$JAVA_HOME/bin
    <end commands>
    Bhav

  • Error While Installing ORACLE 10g in Redhat Linux 5.0

    Hi all,
    Anybody please guide me regarding the posted error.
    I'm trying to install ORACLE 10g in Redhat Linux 5.0 and finding error as "Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2009-10-15_09-20-56PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(Unknown Source)
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at sun.security.action.LoadLibraryAction.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
    at sun.awt.DebugHelper.<clinit>(Unknown Source)
    at java.awt.Component.<clinit>(Unknown Source)
    I tired a lot to sort it out but unable to resolve.So please tell me the possible ways.
    I appreciate all types of clarifications...
    Thanks in Advance
    Sajeev George

    Sajeevcmc wrote:
    Hi,
    Thanks for the reply.
    Could you please tell me the rpm full name and where i can download the same?
    Thanks in Advance
    SAJEEV GEORGEYou need to have the following packages installed already before starting Oracle installation
    http://download.oracle.com/docs/cd/B19306_01/install.102/b15669/pre_install.htm#sthref80
    binutils-2.15.92.0.2-10.EL4
    compat-db-4.1.25-9
    control-center-2.8.0-12
    gcc-3.4.3-9.EL4
    gcc-c++-3.4.3-9.EL4
    glibc-2.3.4-2
    glibc-common-2.3.4-2
    gnome-libs-1.4.1.2.90-44.1
    libstdc++-3.4.3-9.EL4
    libstdc++-devel-3.4.3-9.EL4
    make-3.80-5
    pdksh-5.2.14-30
    sysstat-5.0.5-1
    xscreensaver-4.18-5.rhel4.2
    And from the following link, you can get the same list:
    http://www.puschitz.com/InstallingOracle10g.shtml (Go to Checking Software Packages (RPMs))
    And from my installation guide you can easily install Oracle on Linux by following step by step instruction
    [Step by Step Installing Oracle Database 10g Release 2 on Linux (CentOS) and AUTOMATE the installation using Linux Shell Script|http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • Unable to Install Oracle 9i on redhat linux 9

    Hi everybody,
    I had been trying to install Oracle 9i on redhat linux 9 since last month and I am not able to succeed in installing the same. In fact I do not get to see even the OUI screen . I give below the steps I followed.
    1) Setting of env varibles pertinent to oracle., say ORACLE_HOME,NLS_LANG etc.
    2) PATH=$PATH:/usr/local/jdk1.3.1/bin:.
    3) export LD_ASSUME_KERNEL=2.4.1
    I have a set of 3 CD's for installation. As soon as I load the first CD. the runInstaller would run for sometime and stop, while I do the installation in the graphic mode.
    When I try to install the same in the command line mode, I get to see something like the one below
    Initializing java jre from /tmp/OraInstall0/... please wait.. and then it would come back to the command prompt.
    I then invoke ps -ef | grep -i oracle to check if some process is running and I do get to see something. But ultimately nothing happens.
    Please help me with this.

    At Oracle Site we have a very good manual for 9i installation. Follow the manual step-by-step.
    Your problem seems as a java or permissions issue.
    good luck
    Eduardo

  • Java 3D in Linux Redhat 9

    I downloaded Java3D 1.3.3 for Linux from ftp://ftp.tux.org/pub/java/java3d/1.3.1/
    in the i386 area.
    I am running jdk 1.5.0_02. on linux Redhat 9.0.
    The code appears to install correctly.
    When I compile and run the HelloJava3Da demo I get the following error, as Jery reported
    last month;
    Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: sun/awt/DrawingSurface
    Does the fact that no one responded to Jery's original post indicate that Java 3D does not
    run with the relatively standard "DrawingSurface" class in linux?
    Perhaps I was mistaken that Java, and Java projects, such as Java 3D, were supposed to be platform independent?
    This example runs fine in WIndows XP using the same versions for Windows.
    Does something need repair in the linux versions?
    Regards-
    Steve Farris

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

  • OMWB under Linux redhat AS 3 : Java 1.4 not found

    Hi,
    I have already used the oracle migration workbench under Windows with a total sucess.
    But passing to Linux Redhat AS 3; Trying to launch the migration workbench by the ./omwb.sh ... the stressing error follows :
    Java 1.4 not found. Java 1.4 requiered
    I installed the j2re and j2sdk rpms without any changes
    please help ! thinks

    Hello All,
    I solved the problem by executing the following commands :
    $ java -version
    ... placeholder message ...
    $ su -
    # alternatives --remove java /usr/share/java/libgcj-java-placeholder.sh
    # alternatives --remove javac /usr/share/java/libgcj-javac-placeholder.sh
    # alternatives --remove jar /usr/bin/fastjar
    # alternatives --remove jar.1.gz /usr/share/man/man1/fastjar.1.gz
    # cd /usr/bin
    # ln -s /usr/java/jre1.5.0/bin/java java
    ... also set the links for javac etc ...
    # exit
    $ java -version
    java version "1.5.0"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
    Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing)
    $
    Procedure of JDK is similar to J2RE...
    It seems that it wasn't a difficult problem
    sorry and thinks
    Tchao

  • Error on Install Oracle9i R2 on RedHat Linux 7.3

    When I have installed Oracle9i R2 on RedHat Linux 7.3,I reboot the machine,
    and then write this:
    sqlplus
    SQL> sys /change_on_install as sysdba
    SQL>Connect to Iddle
    SQL>startup
    SQL>sltln:environment variable cannot be evaluated
    What`s the matter?
    thanks

    Looks like some file that's present in tmp or
    /var/tmp during deployment cannot be overwritten
    because of permissions issue. Please make
    sure you don't have previous installation temp files
    in /var/tmp or /tmp before doing new installation or
    use the same use that installed the first instance.
    You can try cleaning up tmp and /var/tmp and retry.
    Also try setting umask 00 before installations.

  • Installing Oracle 8.1.7 on Linux RedHat 7.1

    I am trying to install Oracle 8.1.7 on a Linux RedHat 7.1 machine with P4 1.7GHz. I 've tryed all the papers I found on the net for setting the user accounts and groups, linking with the old gcc libraries, etc. The problem is that after starting the OUI and when a window pops-up that spans the products list available, the whole operation finishes too quicly without reaching the 100%. At the next screen when I am trying to give the Instalation Unix group - should be oinstall/dba - I press next and get the message "Unable to setup Inventory. You may not have proper permisions". The machine has 256MBs Ram and 520MB Swap file on a 20GB HDD.Has anyone else seen this before? I couldn't find anything on the net. Can anyone help me? Thanks in advance...

    Hi,
    In the user where you are trying to install Oracle, give the following command at the prompt.
    $ umask
    The result should be "022". If it is not, connect as root and change the umask-settings of the user.
    $ umask 022 <user-name>
    and connect as the user, where you are trying to install and run the Installer.
    Hope this will work,
    Murali.

Maybe you are looking for