How to install jdk

I had downloaded the linux java installation file
jdk-6u7-linux-i586.rpm.bin
and I had installed it under /root/usr/java
but what should i do next?
i used Mozilla Firefox2.0.0.4
who can tell me how to dispose environment?
Edited by: Flying_eagle on Sep 23, 2008 1:54 AM

If you ask detailed questions we will provide detailed answers. If you provide vague questions we can only give general answers.
What do you want to configure your JDK to do?
If you're new to Java you should be running through the tutorials before you do anything else. Specifically you must get a good understanding of the classpath or you will be in a world of confusion.

Similar Messages

  • How to install jdk 1.5 in Sun Solaris 8

    Hi All,
    I have sun solaris 8 server UNIX platform.i already have JDK 1.3.3 in my server.i want to clean that and to install jdk 1.5 in my server.does any body knows how to setup JDK 1.5 in sun solaris 8 UNIX Platform and where to set JAVA_HOME Environment Variable.
    Thanks in Advance.

    http://java.sun.com/j2se/1.5.0/install-solaris.html
    r
    http://www.google.com/search?q=How+to+install+jdk+1.5+in+Sun+Solaris+8+in+unix+platform+++&client=netscape-pp&rls=com.netscape:en-US

  • How to install JDK on RED HAT - Linux interprise 5?

    Hello!
    How to install JDK on RED HAT - Linux interprise 5?
    Thanks!!!

    I did.
    But I have got an error:
    [user@localhost Desktop]$ cd jdk-6u22-linux-i586-rpm.bin ./jdk-6u22-linux-i586-rpm.bin
    bash: cd: jdk-6u22-linux-i586-rpm.bin: Not a directory
    [user@localhost Desktop]$ ./jdk-6u22-linux-i586-rpm.bin
    Unpacking...
    Checksumming...
    Extracting...
    UnZipSFX 5.50 of 17 February 2002, by Info-ZIP ([email protected]).
    inflating: jdk-6u22-linux-i586.rpm
    inflating: sun-javadb-common-10.5.3-0.2.i386.rpm
    inflating: sun-javadb-core-10.5.3-0.2.i386.rpm
    inflating: sun-javadb-client-10.5.3-0.2.i386.rpm
    inflating: sun-javadb-demo-10.5.3-0.2.i386.rpm
    inflating: sun-javadb-docs-10.5.3-0.2.i386.rpm
    inflating: sun-javadb-javadoc-10.5.3-0.2.i386.rpm
    error: can't create transaction lock on /var/lib/rpm/__db.000
    Installing JavaDB
    error: can't create transaction lock on /var/lib/rpm/__db.000
    Done.
    What is the problem?
    Thanks!

  • How to install jdk to SCO unix?

    I am a new developer in SCO unix ,can you tell me how to jdk to SCO unix?
    install which version of jdk and how to install,
    where can I down the file needed?

    As far as I know, Sun hasn't released a JDK for Unix. It's only available for Solaris, Linux, and Windows.
    IBM has realeased developer kits for some of their platforms (AIX, OS/390), but that's not going to help you much.
    There has been a lot of talk among open-source developers about Sun relasing the source code to Java. Such would enable ports of the SDK to other platforms (SCO, Mac...). This may only happen after IBM buys Sun (still a few years off '-) .

  • How to install JDK on LINUX Ubuntu on system with no net/wireless?

    Hello!
    I need to install JDK on LINUX Ubuntu on system with no net/wireless connection.
    What are the commands?
    Thank you!
    Edited by: 800512 on 07:29 10/01/2011

    - Download your release of choice from http://www.oracle.com/technetwork/java/javase/downloads/index.html
    - Put the file on a USB thumb drive
    - Mount that drive on the target machine
    - Follow the installation instructions.
    The Linux/Ubuntu downloads of the JDK are offline installers (i.e. the downloaded file contains everything that's required). Only Windows currently has an online installer (smaller initial download, but requires a net connection for the actual installation)
    Alternatively: install the OpenJDK from the official Ubuntu packages using apt-zip (http://wiki.debian.org/AptZip).

  • How to install JDK International Version?

    Hello-
    I am running software which requires that the International Version of JDK be installed. I can't find any documentation on how to enable this apart from needing i18n.jar in /jre/lib.
    How can I obtain and install the International version of JDK?
    I am installing this on Solari 5.9.
    Thanks very much.
    Sincerely,
    Ed S.

    Duplicate.
    Already answered.

  • How to use JDK 1.5 in WSAD 5.1.2 to complie the code

    Hi,
    We have currently deployed our code on JDK 1.4 in WSAD 5.1.2. How to run wsad 5.1.2 with jdk 1.5, this is just for compiling the code and not for deployment as we will be tieing up with RAD 7.0 on a future date after the migration of our Webspehere Application Server from 5.1 to 6.1.
    Could any please help us out with the above query ?
    Rgds,
    Surya.

    http://java.sun.com/j2se/1.5.0/install-solaris.html
    r
    http://www.google.com/search?q=How+to+install+jdk+1.5+in+Sun+Solaris+8+in+unix+platform+++&client=netscape-pp&rls=com.netscape:en-US

  • How to install Swing for JDK 1.1.8? (Emergency)

    I encounter a problem in developing application software now. Would you give me help? Thanks a lot.
    I'm using PersonalJava with JDK 1.1.8 to develop PDA application. And I need to import some classes such as Swing and com.sun.ftp, but I do not know how to install and import Swing. So please tell me what I can do for it.
    Thank you for your help. I'm looking forward to hearing from you soon. :)
    Have a nice day!
    Best regards,
    Chris Wong

    Hi,
    there is an instruction on http://forum.java.sun.com/thread.jsp?forum=56&thread=280486
    The steps in short are.
    Copy the swingall.jar on your pocket pc
    Edit the registry key for "Java Class File" and add the swingall.jar to it
    If you need some other classes, then do the same.
    Btw. I have encountered a problem with the Sun Runtime. If the classpath in the registry is too long, it will ignore the whole classpath. So you maybe will put all classes into a single jar file.
    Hope that helps,
    FReAK

  • How to install latest version of JDK ?

    Hi,
    I have jdk1.3
    I want to use eclipse editor for java programming. For that the requirement is jdk 1.4 or above, but i have jdk1.3,
    So, how to install latest version of JDK ? is it available on the net? If so, Please give me the URL. IS it necessary to delete existing jdk? If yes, how to configure class path for the latest version ?
    Can anyone please guide me in this regard?
    Thanks in advance
    Ashvini

    JDK 5 Download Page

  • How to install smslib.rxtx,commapi and jdk 5 on Ubuntu

    I need help for smslib with comm and rxtx packages on Ubuntu
    I tried But it is not working.
    I need step By step installation for jdk,rxtx,comm.
    Please help me.
    note
    I tried the following steps:
    install jdk to my machine /usr/lib/jvm/java-1.5.0-sun/
    unzip the rxtx-2.1-7-bins-r2.zip to my machine's Desktop
    copy RXTXComm.jar file to /usr/lib/jvm/java-1.5.0-sun/jre/lib/ext/
    copy /rxtx-2.1-7-bins-r2/Linux/i686-unknown-linux-gnu/librxtx* .so files to usr/lib/jvm/java-1.5.0-sun/jre/lib/i386 and /usr/lib and /usr/lib/i686/
    copy to java.comm.properties to /usr/lib/jvm/java-1.5.0-sun/jre/lib/

    You will have better luck asking this on a Linux forum. Most creative professionals using Adobe apps simply don't care for Linux and even trying would considered as a stroke of madness by most of them (I certainly do), so the basis of knowledgeable people is thinner than a layer of carbon nanotubes...
    Mylenium

  • How is windows registry affected on installing JDK

    I have a basic query ,when u install JDK ,JRE also gets installed
    does it make an entry in the registry(windows system).Also the browsers supporting java do they come with their own JRE's ie. a system can have 2 JRE's at the same time or is it that the browsers use the JRE of the JDK.
    I got an unsual error once after lots of successful executions saying that the dll for jre1.3 was not available and incompatible with jre 1.2
    ..dont remember the exact error.
    When i installed the jre1.3 , the same error did not come.
    So I am pretty confused , why did the jdk1.3 installation not install the jre1.3 .....Can any one help

    I have a basic query ,when u install JDK ,JRE also
    gets installed
    does it make an entry in the registry(windows
    system).Also the browsers supporting java do they come
    with their own JRE's ie. a system can have 2 JRE's at
    the same time or is it that the browsers use the JRE
    of the JDK.
    I got an unsual error once after lots of successful
    executions saying that the dll for jre1.3 was not
    available and incompatible with jre 1.2
    ..dont remember the exact error.
    When i installed the jre1.3 , the same error did not
    come.
    So I am pretty confused , why did the jdk1.3
    installation not install the jre1.3 .....Can any one
    helpYes, installing the JDK does put registry entries in. Search your registry for java. It'll list all your JDKs and also which is the current one. You can switch the current one between your JDKs. Also, running java on windows often results ( in certain versions, I know it does on win2000 ) in putting java.exe in the winnt directory, so even though your path variable may point to the correct jdk, if the wrong java.exe is in your winnt directory that will get picked up, with pretty unpredictable results.

  • How to install Oracle FM Forms 11g on client system.

    Problem 1.
    I have an weblogic server installed on a server, now i have to install oracle Forms 11g in client system. its ask me weblogic server path whatever i try, its ask weblogic on client. what is the solution how installation of Oracle 11g form connect with weblogic server."
    Problem 2.
    i have install 64-bit OS windows 7.
    1. I Installed JDK 6 (64bit).
    2. Installed Weblogic Server. (its work fine)
    3. Now i m installing Oracle forms 11g 64(-bit). its show me an error (INST-07407: Unable to detect machine platform or JVM bits)
    please help me out. waiting for your positive reply.

    3. Now i m installing Oracle forms 11g 64(-bit). its show me an error (INST-07407: Unable to detect machine platform or JVM bits)It looks like you are installing the 32-bit version of Oracle Fusion Middleware (FMw) 11g - not the 64-bit version. As a test, install the 32-bit JRE and run the FMw installer again. If it continues past this point - you've got the 32-bit installer and not the 64-bit installer. :)
    Craig...

  • How to install and use certificates on client?

    Hello everyone, and first of all sorry for my poor, italian-accented english.
    I have some questions about SSL and certificates. I'm developing a java desktop application, which should connect to a https server, authenticate with a previously downloaded certificate and then gain access. Some specs: I work on a Windows Xp Pro machine with Netbeans 6.1 and jdk 1.6.0_07.
    Now, I'm using HttpUnit libraries to connect the first time, login with basic authentication and download the certificate, but after i get it I'm not sure how to install the certificate (using java, it has to be an automated procedure) on the client machine and then how to use it to connect to the server. I've tried to use the code I've found here and after using it I can see the certificate inside Control Panel > Java > Securiy > Certificates > System, but I'm not sure I'm installing it in the correct way and/or in the correct path.
    Everytime I try to connect to the server I get back a HTTP 403 forbidden exception. Does someone know any tutorials/howtos/example codes to suggest to me? Or could tell me what's the right installation procedure using java? Any help would be very appreciated.
    Thanks in advance
    K.

    After banging my head on my keyboard for a lot of hours, I've got it!
    I was trying to install a *.pfx certificate, and that was bad. I tried to convert it in *.p12 or *.cer but that workaround didn't work. Finally I've found a small code to use a *.pfx certificate without installing it and... it works! No more 403 errors now, I can get that damn page. :)
    Here is the class I've used (I've found it somewhere googling around but I've lost the link, sorry. Anyway, I've modified it a little)
    import java.io.BufferedReader;
    import java.io.FileInputStream;
    import java.io.InputStreamReader;
    import java.net.*;
    import java.security.KeyStore;
    import javax.net.*;
    import javax.net.ssl.*;
    public class ConnectWithPfx {
       static final int HTTPS_PORT = 443;
       public static void main(String argv[]) throws Exception {
          // Get a Socket factory
          SocketFactory factory = SSLSocketFactory.getDefault();
          SSLSocketFactory socketFactory = null;
          try {
                KeyStore keyStoreKeys;
                KeyManagerFactory keyMgrFactory;
                SSLContext sslContext;
                keyStoreKeys = KeyStore.getInstance("PKCS12");               
                keyStoreKeys.load(new FileInputStream("mycertificate.pfx"),"certpassword".toCharArray());
                keyMgrFactory = KeyManagerFactory.getInstance("SunX509");
                keyMgrFactory.init(keyStoreKeys, "certpassword".toCharArray());
                sslContext = SSLContext.getInstance("SSL");
                sslContext.init(keyMgrFactory.getKeyManagers(), null, null);
                socketFactory = sslContext.getSocketFactory();
                Socket socket2 = factory.createSocket("www.my.host", HTTPS_PORT);
          } catch (Exception e) {
                e.printStackTrace();
            URL url = new URL("https://www.my.host/mypage");      
            // Open a HTTP connection to the URL assigning the SocketFactory we created before
            HttpsURLConnection conn = null;
            conn.setDefaultSSLSocketFactory(socketFactory);
            conn = (HttpsURLConnection) url.openConnection();              
            // Allow Inputs
            conn.setDoInput(true);
            // Allow Outputs
            conn.setDoOutput(true);
            // Don't use a cached copy.
            conn.setUseCaches(false);
            conn.setRequestProperty("Connection", "Keep-Alive");
            BufferedReader in = new BufferedReader(new InputStreamReader(conn.getInputStream()));
            String line;
            String response = "";
            while ((line = in.readLine()) != null) {
                response += line+"\n";
            System.out.println(response);
    }Hope this could be useful for someone else. Thanks to everyone who read or replied to my thread. :)

  • Error while installing JDK 1.6 on Linux?

    Hi,
    Could not locate a suitable jar utility.
    Please ensure that you have Java 6 or newer installed on your system
    and accessible in your PATH or by setting JAVA_HOME
    Below is environment variables on Linux. when I try to install JDK 1.6 I'm getting forllowing error.
    do I need to add environment variable before installing JDK ? In windows it will automatically add to path variable while installing. how to fix above problem?
    environment variables on Linux server below.
    HOSTNAME=lx-cphrobi-t49x
    TERM=xterm
    SHELL=/bin/bash
    HISTSIZE=1000
    SSH_CLIENT=10.172.18.240 62878 22
    OLDPWD=/opt/oinstall/software
    SSH_TTY=/dev/pts/0
    USER=hrobi
    LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or= 01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:* .bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.l zh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31 :*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35 :*.png=00;35:*.tif=00;35:
    MAIL=/var/spool/mail/hrobi
    PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/share/centrifydc/bin:/usr/X11R6/bin:/home/hro bi/bin
    INPUTRC=/etc/inputrc
    PWD=/opt/oinstall/software/Java
    LANG=en_US.UTF-8
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    SHLVL=1
    HOME=/home/hrobi
    LOGNAME=hrobi
    CVS_RSH=ssh
    SSH_CONNECTION=10.172.18.240 62878 10.179.8.117 22
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    G_BROKEN_FILENAMES=1
    _=/usr/bin/env

    When you installing Java on Linux, installable should not ask for JAVA_HOME as you mentioned "Please ensure that you have Java 6 or newer installed on your system and accessible in your PATH or by setting JAVA_HOME "
    Check this link for more info, it suppose to be as good as Windows
    http://docs.oracle.com/javase/7/docs/webnotes/install/linux/linux-jdk.html

  • How to install AS 10.1.2 on Public Static IP?

    Hello
    How to install AS10 on multi - ip server?
    1. OS windows server 2003.
    2. Two Network Adapter
    2.1 LAN <<-- For Local Network Domain
    2.2 WAN <<---- static IP for outside connection
    2.3 of course the loop back adapter.
    I tried only in local area network intranet with success, but how to do it in wan internet?
    Thank you,
    Charles

    Hi,
    If you want to install WebLogic 10.3.2 using Generic Jar then u can use any JDK1.5 or JDK1.6.
    But Always remember that JDK1.5 is not in supported Configuration with WebLogic 10.3.2. So it is always recommended and best practice that while Installing the WebLogic 10.3.2 using Generic Jar in your Box....you should have the JDK 1.6.x (64 Bit) installed in your Box already.
    Thanks
    Jay SenSharma
    http://weblogic-wonders.com/weblogic (WebLogic Wonders Are Here)

Maybe you are looking for

  • Data Loading(Before and After Image)

    I heard that a datasource which has both "Before and After Image " ,then the data can be sent directly to the infocube or from the DSO to the Infocube but where as If a datasource supports after image then first it has to be loaded to the DSO and the

  • Extraction Line items New General Ledger

    Hi all, I want to extract the new-General Ledger document line items. However we are not on the correct enhancement package yet on SAP ECC. So we don't have datasource 0FI_GL_14 yet. Until we have this new extractor I want to create a full load of a

  • Why attribute ID doesn't support EL?

    I have problem to get component source from ValueChangeEvent because I cannot set ID to each component inside table rows (i.e: SelectBooleanCheckbox). checkbox attribute ID aren't unique in table row because ID is not support EL or variable. So HOW D

  • JCo Server Load Balancing

    We have created a JCo Server interface using RFC modules in SAP to communicate with an external web based system.  The SAP system calls the external application via tRFC and qRFC as needed from the business transaction.  We have achieved high through

  • Using Photoshop 6

    Using Photoshop 6 and whenever I type the cursor remains stationary but the typing will appear in the layers pallet but not on the project. Help please. Have pressed something somewhere that is making this happen?