Installation JDK sources

Can someone tell me how to install jdk? I have downloaded j2sdk-1_3_1_01-linux-i386-rpm.bin from the java.sun.com site, but I don't no how to use it.
thanks
Sjaak van Werkhoven

cp j2sdk-1_3_1_01-linux-i386-rpm.bin /usr/local/.
cd /usr/local
rpm -ivh j2sdk-1_3_1_01-linux-i386-rpm.bin
At last ,set enviroment.

Similar Messages

  • J2SE 5.0 JDK Source Code setup

    I downloaded the J2SE 5.0 JDK Source Code .zip files, but how do I set it up? I'm running Windows XP.

    unzip the file to whatever location you want e.g. C:\JavaApiDocs
    which will create C:\JavaApiDocs\docs
    double-click C:\JavaApiDocs\docs\api\index.html to see if all is well
    if so, put a shortcut to index.html on your desktop
    many ide's have a link to the docs, for searching etc - go to your ide's options
    and point the docs location to C:\JavaApiDocs

  • How do I obtain JDK source code?

    I need to get the source code of JDK 1.4.2 for Mac OS X to help debugging my Java application. Where can I obtain it? Is it the same one as those distributed by Sun?

    I fail to see why having the JDK source is going to
    help you debug your code.I fail to see why you think your comment is in the slightest bit helpful.
    When programming an API, you should always include enough documentation and properly use exceptions so that someone using your API is able to determine exaclty why they are getting any error that they may encounter.
    Not all programmers provide adequate documentation in all instances and and not all programmers provide adequate exception support in all instances.
    The standard java libraries are no exception to this. I have encountered a few instances in my coding history where the documentation/error messages were not sufficient for me to know what I have done wrong. In these instances, going to the source code allowed me to figure things out. This is why sun releases src.zip with their jdk's.

  • Building debuggable JDK jars from JDK sources

    Hello,
    I want to build the JDK jars (rt.jar, tools.jar, etc.) that contain classes with debug information, from the JDK sources. I found a web page where it detailed several steps, but they were too many and too general for me. My platform is : Linux 2.6.9-78.0.0.0.1.ELsmp #1 SMP i686 i686 i386 GNU/Linux. Can someone tell me some straightforward steps to build these jars. When I run 'gmake sanity' in control/make directory, I get errors like :
    ERROR: You do not have access to the previous java release jre bundles.
    Please check your access to
    /java/re/j2se/1.5.0/archive/fcs/bundles/linux-i586/jdk-1_5_0-linux-i586.tar.gz
    and/or check your value of ALT_PREVIOUS_RELEASE_PATH or ALT_PREVIOUS_JRE_FILE
    This will affect you if you build the images target.
    ERROR: You do not have access to the previous java release sdk bundles.
    Please check your access to
    and/or check your value of ALT_PREVIOUS_RELEASE_PATH or ALT_PREVIOUS_JDK_FILE.
    This will affect you if you build the images target.
    I simply want to know which env variables exactly should I set and to what values. Specific information regarding these will be much appreciated. Thanks.

    I don't understand what you mean by 'run the JVM in debug mode'. I don't want to debug the JVM, but want to debug the JDK classes. And for that, the classes need to have been compiled with debug info.
    In any case, what I want is : build JDK jars with debug info, given that the sources are available. I'm sure this kind of thing was already tried out by at least some, if not many. So, I'm seeking some guidelines from them.

  • Building debuggable versions of JDK jars from JDK sources

    [ Posting in this forum, since posting it in 'Build and Release Engineering' forum has not got any response so far ]
    Hello,
    I want to build the JDK jars (rt.jar, tools.jar, etc.) that contain classes with debug information, from the JDK sources. I found a web page where it detailed several steps, but they were too many and too general for me. My platform is : Linux 2.6.9-78.0.0.0.1.ELsmp #1 SMP i686 i686 i386 GNU/Linux. Can someone tell me some straightforward steps to build these jars. When I run 'gmake sanity' in control/make directory, I get errors like :
    ERROR: You do not have access to the previous java release jre bundles.
    Please check your access to
    /java/re/j2se/1.5.0/archive/fcs/bundles/linux-i586/jdk-1_5_0-linux-i586.tar.gz
    and/or check your value of ALT_PREVIOUS_RELEASE_PATH or ALT_PREVIOUS_JRE_FILE
    This will affect you if you build the images target.
    ERROR: You do not have access to the previous java release sdk bundles.
    Please check your access to
    and/or check your value of ALT_PREVIOUS_RELEASE_PATH or ALT_PREVIOUS_JDK_FILE.
    This will affect you if you build the images target.
    I simply want to know which env variables exactly should I set and to what values. Specific information regarding these will be much appreciated. Thanks.

    I don't understand what you mean by 'run the JVM in debug mode'. I don't want to debug the JVM, but want to debug the JDK classes. And for that, the classes need to have been compiled with debug info.
    In any case, what I want is : build JDK jars with debug info, given that the sources are available. I'm sure this kind of thing was already tried out by at least some, if not many. So, I'm seeking some guidelines from them.

  • Create installer with source files

    Hello
    I have a word search game and i have a dictionary and  the VI create one file with "last scores". I want to creat installer which indclude this files when im setup in another computer without labview. 
    Thank you!
    Solved!
    Go to Solution.
    Attachments:
    kotprog v1.1.vi ‏2864 KB

    First of all, you need to be using a project.  The project should include any source files and any other files you will want to include in your installer.
    Then you create a build specification for an executable.  Once that is built, make a build spec for the installer.  The installer should include any NI compenents you may need to run your program (like the Run-Time Engine).  You can also specify where files will be installed..
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Errors with JDK source file

    I'm extremely new to JAVA. I just installed JDK 6 and JRE on Windows XP and typed java ~version at the command prompt and got this error: Exception in thread "main" java.lang.NoClassDefFoundError: ~version caused by: java.lang.ClassNotFoundException: ~version at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    Can anyone please help? I've seen many examples on setting the path, but not sure what is correct.

    java -versionHyphen not tilda.

  • Oracle Lite10G Installation JDK missing

    Hi , I am trying to install olite 10g downloaded recently from technet .Installation goes smoothly till it asks for the port number on oc4j Http listener . the next it gives me error message saying
    "Missing or Incorrect version of jdk " as title and
    dialog body says
    "installer could not find correct version of JDK installed on your system . mobile server requires JDK1.4.1 or higher .
    whereas i have
    C:\Documents and Settings\sathishk>java -version
    java version "1.4.2_03"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
    Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)
    And also i checked path and classpath . both points to above mentioned version ?

    After you install the J2SDK from Sun, you will need to make sure the first entry in the PATH and CLASSPATH is the directory where the J2SDK is installed.
    It appears that the JDK you are using is coming from another directory.
    Just a Guess!!!?

  • Why this behaviour 32/64 bits installer jdk/jre behaviour

    Dear members
    usally i work with jdk 1.5 update 12
    so in this link
    http://java.sun.com/products/archive/j2se/5.0_12/index.html
    for my 32 bits pc machine
    i download this file
    Windows Platform - Java Development Kit 5.0 Update 12
    Windows Offline Installation, Multi-language      jdk-1_5_0_12-windows-i586-p.exe     51.33 MBsee the size of the installer 51.33Mb
    with this unique .exe installer i can install in peace the jdk and jre (how adition by default)
    now for 64 bits
    Windows x64 Platform - Java Development Kit 5.0 Update 12
    Windows x64 executable (use 32-bit version for applet and Java Web Start support)      jdk-1_5_0_12-windows-amd64.exe     32.96 MBsee the size file 32.96mb
    well with this i can only install the jdk but not the jre like the installer 32 bits case
    i must download apart the jre for 64 bits
    is normal this behaviour???
    thanks in advanced

    Hello jschell
    thanks for the reply
    >
    So if you are asking if you missed something then the answer is no - you need both pieces
    >
    sorry for my ignorance, but why for 32 bits i can download apart the jre if this coming by default with the jdk installer for 32 bits?
    i guess that some reason is for production enviroment
    regards

  • JDK source code of earlier versions

    Hi,
    I'm doing some research on code clones. I wrote a tool to categorize code clones and i would like to test it on several open source projects. I found a paper of another researcher that did similar research in the past and he also used several open source projects. To compare my results with his results i'd like to take the same projects. One of them is JDK 1.1.5, but i can't find the source code on the internet. I only found the source code of JDK 1.5 and 1.6. I'd like to have the source code of version 1.1.5 or at least a version earlier than 1.5. Can anyone help me?
    Message was edited by:
    KinkyHagar

    Check the src.zip file in your jdk folder.

  • JDK Source code

    Does the source code for the standard java libraries come with the sdk? I thought that was the whole point of an sdk, but when using eclipse, it says it cant find the source (in rt.jar), and just gives me an outline of the class. Do I separately have to download the source code? I saw something like this somewhere on the site (SCSL or JRL), but am not too sure if that's what i'm looking for...
    Cheers,
    Siam

    Some of the code is in other jars. Other code is not distributed as part of the SDK; it can be downloaded using the source code d/l link on the download page.

  • NW2004s SP7 Preview installation error, source.properties missing

    dear sap
    I got the error message
    FSL-02015 Node c:\j\Sneak_Preview_Content\JAVA\SOURCE.PROPERTIES does not exist.
    I linked some screenshots for your understanding.
    <a href="http://itedu24.net/nw04ssp7/00Sneak Preview SAP NetWeaver 2004S SR 1installation.doc">00Sneak Preview SAP NetWeaver 2004S SR 1installation.doc</a>
    *. haha, i created the empty file as "source.properties" .
    but it doesn't work .. ^^
    do you really miss it or ?
    I made a mistake?
    Thanks.
    David

    David,
    I forgot;
    FCO-00011
    In this case, check the mapping of the hostname to the IP address with the following commands:
    ping hostname
    The system returns the IP address that is assigned to the host name.
    ping -a <IP_Address>
    The system returns the host name that is assigned to the IP address.
    If the output of IP address and host name differs, correct the  mapped IP address to the host name on the DNS Server or in the "hosts" file
    James

  • Installation JDK Questions for WLS 12c

    I was trying a demo install of WLS12c 12.1.2 and curious on the JDK/Jrockit part of the cert matrix (below)....can I successfully install with just Jrockit 28.2.5?  Or does the install (and/or admin console) acutally need an actual JDK, not Jrockit to install?  Although I don't see it in the matrix below, I assume all the managed servers will work and be certified on JRockit28.2.5?   Thanks!
    Oracle
      WebLogic Server
    12c (12.1.1.x)
    x64
    Windows Server
      2008 R2 (all SP levels included)
    64
    64
    Oracle JDK     1.6.0_29+    
    64
    Oracle
      11.1.0.7+     Oracle 11.2.0.3+     Oracle 12.1.0.1+
    For certification with Oracle DB 12.1.0.1+,
      refer to  My Oracle Support Doc ID
      1564509.1 on https://support.oracle.com/.
    Oracle WebLogic Server
    12c
      (12.1.1.x)
    x64
    Windows
      Server 2008 R2 (all SP levels included)
    64
    64
    Oracle
           JDK 1.7.0_02+
    64
    Oracle
      11.1.0.7+     Oracle 11.2.0.3+     Oracle 12.1.0.1+
    1. See JDK7 certification
      information in the "What's New in Oracle WebLogic Server"
      document.
        2. For certification
      with Oracle DB 12.1.0.1+, refer to  My
      Oracle Support Doc ID 1564509.1 on https://support.oracle.com/.
    Click

    You can find the version by using: java -version (on the command-line).
    "I pointed the 12c install to my 28.2.5 Jrockit and it installed fine pointed to that"
    When you can do that, you are probably using WebLogic 12.1.1 (that still supports Java SE6). In 12.1.2 you would have a problem as the install checks for Java version (which in this case Java SE7).
    "So should I bind all my managed servers to the JDK7 rather than the 28.2.5 JRockit?"
    Just use one Java Virtual Machine in your domain (otherwise you will probably run into problems, as the native libraries of the JVM's are different).
    When you are using WebLogic 12.1.1 you can just keep using JRockit. But in this case copy the endorsed jars, i.e.,
    copy_endorse_jars() {
      echo 'COPY ENDORSE JARS'
      mkdir -p ${JAVA_HOME}/jre/lib/endorsed
      cp ${WEBLOGIC_HOME}/endorsed/*.jar ${JAVA_HOME}/jre/lib/endorsed

  • Compiling JDK 1.4.2 from source, under win32

    Hi,
    Here is how I compiled JDK 1.4.2 from source-code under win32. I hope this helps the many others who are interested in doing the same.
    1) Download the sources from here: http://wwws.sun.com/software/communitysource/j2se/java2/download.html
    Be sure to download all packages (SCSL source, SCSL binaries, mozilla binaries)
    2) Download gnu make from here: http://ftp.gnu.org/pub/gnu/make/
    3) Download Info-zip "zip" and "unzip" packages: http://www.info-zip.org/pub/infozip/UnZip.html and http://www.info-zip.org/pub/infozip/Zip.html
    4) Request and evaluation copy of MKS Toolkit: http://www.mkssoftware.com/eval/
    The key point here is that MKS Toolkit is a commercial product and even once you request an evaluation copy, it'll take a day or two for one of their salespeople to contact and harass you. Tell him whatever you must to get an evaluation copy out of him ("I might buy a copy in 3 months, honest!")... I personally wish Sun would move away from this commercial product and replace it with cygwin or something. It was very annoying getting past this stage.
    5) Download the DirectX 9.0 SDK from here: http://www.microsoft.com/downloads/details.aspx?FamilyID=124552ff-8363-47fd-8f3b-36c226e04c85&displaylang=en
    Sun actually requires DirectX 7.0 SDK but I couldn't find a copy anywhere so we have no choice but use a newer copy. This is another issue Sun should really address.
    6) Install DirectX SDK, MKS Toolkit, Info-zip zip and unzip
    7) Unpack gnu make into a directory and build it using the special steps for the MKS Toolkit shell. If you're trying to build make 3.80 be sure to fix this bug before you proceed or else it won't build: https://savannah.gnu.org/bugs/index.php?func=detailitem&item_id=1687
    8) Set your build environment variables. Here are my personal settings:
    call "C:\Program Files\Microsoft Visual Studio\VC98\Bin\vcvars32.bat"
    set ALT_UNIXCOMMAND_PATH=c:\mksnt
    set ALT_MSVCRT_DLL_PATH=c:\windows\system32
    set ALT_BOOTDIR=c:\j2sdk1.4.2_04
    set ALT_DEVTOOLS_PATH=c:\j2sdk1.4.2_04\source\utils
    set path=C:\make-3.80\WinRel;%path%
    set include=%include%;c:\program files\microsoft sdk\include
    set JAVA_HOME=
    9) You must build against Visual C++ 6.0 (Visual C++ .NET won't work because its missing non-standard header files used by Sun, such as iostream.h)
    10) "cd <jdk source dir>\control\make"
    11) Edit <jdk source dir>\j2me\make\common\Sanity.gmk line 1135. Replace:
    ifeq ($(PLATFORM), windows)
    with
    ifeq ($(PLATFORM), windows_skip)
    This will cause the build process to ignore the fact that you have DirectX 9.0 when it requires version 7.0
    12) Start the build process: "make scsl"
    13) If the build process dies because you have a different service-pack of Visual C++ 6.0 than it expects, edit <jdk source dir>\j2me\make\common\Sanity.gmk lines 71-72 and modify the expected version numbers to the ones you have.
    14) If you see a "'c:\program' not found" error while compiling. Be sure that the paths set by VCVARS32.BAT use short-names not long-names, because make gets confused by paths with spaces.
    15) If you see an error "No rule to make target `/usr/src/j2sdk-1_4_2-src-scsl/control/build/linux-i586/lib/fonts/LucidaTypewriterRegular.ttf'" it means you forgot to extract the "SCSL binaries" package into the source-code directory
    I will post solutions to further compiler errors as I encounter them, I encourage you to do the same.

    hey
    i m trying to install JDK 1.5 from source under win XP
    dev-sanity pass so i suppose i have all installed correctly
    the problem is when i run the command "make scsl" to compile all
    i got an error which is into "link.exe" at the begin of the compilation :
    cd generated && NMAKE /NOLOGO /f C:\cygwin\Sources\hotspot\build\windows
    \makefiles\generated.make DIR=.\generated BUILD_FLAVOR=product
    link.exe kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib ad
    vapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib Wsock32.lib winmm.lib /n
    ologo /machine:I386 /opt:REF /opt:ICF,8 /map /debug /subsystem:console /out:adl
    c.exe main.obj adlparse.obj archDesc.obj arena.obj dfa.obj dict2.obj filebuff.ob
    j forms.obj formsopt.obj formssel.obj opcodes.obj output_c.obj output_h.obj
    link: too many arguments
    Try `link --help' for more information.
    NMAKE : fatal error U1077: 'link.exe' : return code '0x1'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio\VC98\bin\n
    make.exe"' : return code '0x2'
    Stop.
    make[3]: *** [generic_build2] Error 2
    make[3]: Leaving directory `/Sources/hotspot/make'
    make[2]: *** [product] Error 2
    make[2]: Leaving directory `/Sources/hotspot/make'
    make[1]: *** [hotspot-build] Error 2
    make[1]: Leaving directory `/Sources/control/make'
    make: *** [scsl-build] Error 2
    i installed visual studio professional 6 sp3 as required ine the "build-windows-i586.html" file ! is the file link.exe incorrect in the pack 3??
    Thanks

  • Where can I find the source of jdk native method

    I only find the define in the jdk source

    Huh?
    'define' is a preprocessor keyword. A C declaration (not definition) defines the prototype for a C method.
    If you want to look at the jdk source (C method definitions) then you can download some of the jdk versions from the sun site under the 'developer connection' link.
    If that isn't what you are talking about the explain it in more detail.

Maybe you are looking for

  • How to replace Match library with new library

    Been using iTunes as my music manager/player since 2003. Currently have about 5,000 songs which are a mix of selective CD song rips, iTunes purchases and Amazon Mp3 downloads. Lots of missing artwork, incomplete albums, wrong genres, etc. I use iTune

  • Can I use a Macbook pro as a second (palette) monitor on my new iMac 21.5" ?

    Hi there, I have a MacBook Pro (13-inch, Late 2011) and the latest 21.5" iMac 2.9GHz. What I would like to do is use the MacBook to load palettes for Adobe InDesign and Photoshop.  I see a lot of discussion about using the iMac to display a smaller s

  • How to get the data like a tree in t-code /nEC01 ?

    Dear Friends, When using t-code EC01, you can click 'Structure' button, and then click 'Navigation'  button, finally the "SAP organizational objects" will be displayed as a tree - when you double click one item, it will be expaned. My problem is, is

  • Can't delete groups in Address Book

    I have a couple of local groups in my Address Book that refuse to delete. Even though the "Delete Group" dialog pops up when I highlight the group and press the Delete-key, they are still there after hitting the OK button. When I create new groups (p

  • Lightroom (Cloud version) keeps asking for serial number. [was: HELP!]

    I purchased the creative cloud photography plan. I downloaded creative cloud and tried to start using lightroom but it keeps asking for a serial number and I dont have one I bought it all online and it wont let me use lightroom help!