Java.exe in \jdk1.4.0\bin VS. java.exe in \jre\bin ?

Hi,
What is different java tools in bin directory from
java tools in jre\bin?
Why do we need these duplication?
and what kinds of role jre directory do?
If anyone give any more comments about jdk directory structure
with the reason, it will be big help.
Thank you..

i guess you have installed the java development kit ( JDK ) . I you read the documentation JDK comes with development tools + java runtime environment ( JRE ) . if you have a look at this picture http://java.sun.com/j2se/1.4.1/images/j2se9.2_arch3.1.jpg .It will make it more clear . so what you see in jre folder is for the runtime execution . once you have compiled the java file you you only need the jre content to run it . where as other flders contain development tools , documentation etc .
hth

Similar Messages

  • C:\Documents and Settings\User "c:/Program Files/Java/jdk1.5.0_14\bin\java.

    I have a class "Stimulus.java" in which another jar's class has been used. When I created jar and executed I got below error. I used "-classpath" to set dependancy jar file. Any clues are appreciated.
    import modulus.Modulus;
    public class Stimulus{
        public static void main(String[] args) {
                Model.main(args);
    C:\Documents and Settings\User>"c:/Program Files/Java/jdk1.5.0_14\bin\java.exe" -classpath "D:\User\mypgms\test\bin\Modulus.jar;" -jar D:\User\mypgms\test\bin\Stimulus.jar c:\test.txt
    Exception in thread "main" java.lang.NoClassDefFoundError: modulus/Modulus
            at Stimulus.main(Stimulus.java:4)

    You can't mix classpath values with the -jar option. Using the -jar option causes Java to use only the Class-Path: information in the jar's manifest file, while ignoring all external classpath information. Review this for details:
    http://java.sun.com/docs/books/tutorial/deployment/jar/run.html

  • /opt/oc4j/java/jdk1.5.0_11/bin/jarsigner vncviewer.jar vncviewer  Failed

    When I try to visit a VM by console,firefox prompt "need to install plugins".
    Then I go back to config the VNCVIEWER.
    1)/opt/oc4j/java/jdk1.5.0_11/bin/keytool -genkey -alias vncviewer -validity 365
    execute successfully
    2) But when I execute
    [root@OVMServer Class]# /opt/oc4j/java/jdk1.5.0_11/bin/jarsigner vncviewer.jar vncviewer
    Enter Passphrase for keystore: oracle123
    jarsigner: unable to open jar file: vncviewer.jar
    I don't know why this command failed.
    Thanks,

    My vncviewer is called "VncViewer.jar" (with capital V's), is located in "/opt/oc4j/j2ee/home/applications/OVS/webapp1/Class/" and is from package "tightvnc-java-1.3.9-3".
    I had no such difficulties signing that particular file, using the "Oracle VM Manager Installation Guide Release 2.1": http://download.oracle.com/docs/cd/E11081_01/doc/doc.21/e10902.pdf

  • No JRMC  found in JRockit  R27.2.0-jdk1.5.0_10 / bin

    Hi
    I want to do JRA recording to check memory usage.
    WLS 9.2
    Oracle Solaris on SPARC (32-bit)
    but when I open :-
    R27.2.0-jdk1.5.0_10 /bin there no jrmc file to start JRA recording.
    Is there any other way to do JRA recording ?
    below is the folder structure :-
    rwxr-xr-x 1 bea bea 1789 Nov 10 2006 java-rmi.cgi
    -rwxr-xr-x 1 bea bea 189160 Nov 10 2006 unpack200
    -rwxr-xr-x 1 bea bea 66696 Mar 21 2007 jrcmd
    -rwxr-xr-x 1 bea bea 66768 Mar 21 2007 appletviewer
    -rwxr-xr-x 1 bea bea 66784 Mar 21 2007 extcheck
    -rwxr-xr-x 1 bea bea 66808 Mar 21 2007 idlj
    -rwxr-xr-x 1 bea bea 66776 Mar 21 2007 jar
    -rwxr-xr-x 1 bea bea 66784 Mar 21 2007 jarsigner
    -rwxr-xr-x 1 bea bea 66152 Mar 21 2007 java
    -rwxr-xr-x 1 bea bea 66808 Mar 21 2007 javac
    -rwxr-xr-x 1 bea bea 66784 Mar 21 2007 javadoc
    -rwxr-xr-x 1 bea bea 66784 Mar 21 2007 javah
    -rwxr-xr-x 1 bea bea 66776 Mar 21 2007 javap
    -rwxr-xr-x 1 bea bea 66808 Mar 21 2007 jdb
    -rwxr-xr-x 1 bea bea 66784 Mar 21 2007 keytool
    -rwxr-xr-x 1 bea bea 66784 Mar 21 2007 native2ascii
    -rwxr-xr-x 1 bea bea 69432 Mar 21 2007 orbd
    -rwxr-xr-x 1 bea bea 66784 Mar 21 2007 policytool
    -rwxr-xr-x 1 bea bea 66776 Mar 21 2007 rmic
    -rwxr-xr-x 1 bea bea 66784 Mar 21 2007 rmid
    -rwxr-xr-x 1 bea bea 66784 Mar 21 2007 rmiregistry
    -rwxr-xr-x 1 bea bea 66784 Mar 21 2007 serialver
    -rwxr-xr-x 1 bea bea 66800 Mar 21 2007 servertool
    -rwxr-xr-x 1 bea bea 69432 Mar 21 2007 tnameserv
    -rwxr-xr-x 1 bea bea 66776 Mar 21 2007 apt
    -rwxr-xr-x 1 bea bea 66800 Mar 21 2007 jconsole
    -rwxr-xr-x 1 bea bea 66776 Mar 21 2007 jps
    -rwxr-xr-x 1 bea bea 66776 Mar 21 2007 jstat
    -rwxr-xr-x 1 bea bea 66776 Mar 21 2007 jstatd
    -rwxr-xr-x 1 bea bea 66792 Mar 21 2007 pack200
    drwxr-xr-x 3 bea bea 1024 Mar 21 2007 .
    drwxr-xr-x 2 bea bea 1024 Mar 21 2007 sparcv9
    drwxr-xr-x 9 bea bea 512 Jun 25 2007 ..
    Thanks in advance..... :)

    WLS : 9.2
    Platform : Solaris is 32 bit.
    Is the case that with JRockit jdk1.5.0_10 (Release R27.2) JRockit Mission Control is not supported?JRMC works. But there is no JRMC GUI application for Solaries (because the Eclipse RCP libraries are unavailable on that platform). You can enable the JRMC server on the Solaris machine (start JRockit with the appropriate -Xmanagement flag) and connect remotely from a Windows or Linux desktop.
    When checked with supported configuration could see JRockit Mission Control 3.1.0 is for Solaris 64 bit.Yes. JRockit JVM including JRMC server. No JRMC GUI.
    Henrik

  • Getting Web Start to use JDK's javaw.exe, not JRE's

    On Windows, I need a Web Started app (actually, my Glossitope desklet) to run with the JDK's javaw.exe, not the JRE's, because I use the Java Compiler API, which is more or less a no-op in the JRE. I've tried using the Java Control Panel to change the Java Application Runtime Settings path to use the JDK path rather than the JRE's, but the change never takes. What, if anything, can I do to get JNLP's to run with the JDK?

    Well, using ToolProvider is exactly what I'm trying to do. The program lets you type some Java code, then compiles it and runs it (with help from a custom class-loader). The problem is that when run from Web Start on Windows, ToolProvider.getSystemJavaCompiler() returns null. I can see from the Control Panel that Web Start's path to Java uses the JRE path, not the JDK, and I suspect that's the reason I'm getting null for the compiler.
    I suspect bundling the tools jar is exactly what I need to do, and I also suspect the license forbids that.
    Works great on the Mac, FWIW.
    Thanks for the reply.
    --Chris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Jar files download problems in Java Webstart with JRE 1.6

    We have encountered a few problems in Java Webstart with JRE 1.6
    In JRE 1.5, the jar files are getting downloaded onto the client
    machine with it's original names.
    Example :
    Server File Name : acm.jar
    Client File Name : RMacm.jar
    But in JRE 1.6, the jar files are getting downloaded with improper file names.
    Example :
    Server File Name : acm.jar
    Client File Name : 4fb074cc-66fc7407
    Moreover the path itself seems to be invalid.
    Example Path :
    JRE 1.5 path:
    C:\Documents and Settings\Administrator\Application
    Data\Sun\Java\Deployment\cache\javaws\https\D17.16.23.11\P443\DMtest\DMwebStart
    JRE 1.6 path:
    C:\Documents and Settings\Administrator\Application
    Data\Sun\Java\Deployment\cache\6.0\12
    Due to this, we are facing Classpath problems.
    What changes do we have to make to the code, for Java
    Webstart to work ?
    We are using JBoss 4.0.4 and JDK 1.5 in the Server
    On the client machine, we have IE 6 and JRE 1.6.01
    Help would be appreciated.

    Ask your Java Web Start question at:
    http://forum.java.sun.com/forum.jspa?forumID=38

  • Java Runtime Environment (JRE) version 1.6 is not supported by this driver"

    Goal: create new ODI install in testlab on single server
    Installer: ODI newbie
    Server Software Installed: all 32-bit
    Windows 2008
    sql 2008
    JDK 1.6_22
    sqljdbc4.jar (downloaded from Microsoft's site)
    No weblogic server installed
    Issue: Using ODI Studio to create Master Repository. Jar files and config described below already implemented. When press “Test Connection ” in ODI Studio I get this error: : “Java Runtime Environment (JRE) version 1.6 is not supported by this driver. Use the sqljdbc4.jar class library, which provides support for JDBC 4.0"
    Details:
    (Sqljdbc.jar and) Sqljdbc4.jar downloaded from here:
    http://www.microsoft.com/downloads/en/details.aspx?FamilyID=99b21b65-e98f-4a61-b811-19912601fdc9&displaylang=en
    (Sqljdbc.jar and ) Sqljdbc4.jar placed in C:\Users\Administrator\AppData\Roaming\odi\oracledi\userlib directory
    Repository Connection Details:
         Technology: Microsoft SQL Server
         JDBC driver: com.microsoft.sqlserver.jdbc.SqlServerDriver
         JDBC URL : jdbc:sqlserver://ODI:1433;SelectMethod=cursor
         User : odi
    What am I doing wrong? TIA.

    More details:
    ODI = ODI version 11.1.1.3
    SQL Server uses default install options.

  • Latest  JAVA Runtime Environment (JRE) and Adobe flash player 10.x or above

    From where i can get latest  JAVA Runtime Environment (JRE) and Adobe flash player 10.x or above
    i am using OS X MOUNTAIN LION

    PC Requirements for E-Learning: 
    Processor
    PC with dual core 2GHz CPU, 1GB memory
    Operating system
    Microsoft Windows XP
    RAM
    1GB RAM recommended
    Monitor
    Supporting resolution say 800 x 600 or 1024 X 768
    Colour Resolution
    32 bit high colour
    Browser
    Microsoft Internet Explorer 7.x or higher
    Plug-in
    Adobe Flash Player 10.x or above for Windows XP
    Network
    512 kbps. For HQ Video experience up to 1Mbps
    Devices
    CD-ROM drive, Sound card, Keyboard, External mouse, speakers or headphones
      Plug-ins Required:  To run the E-Learning make sure that your PC  has the  latest  JAVA Runtime Environment (JRE) and Adobe flash player 10.x or above.  If the plug-ins are  not available in the PC the same may be downloaded from the Internet and installed. ok i have to ue one e learning programme. Although i m not using Microsoft windows XP. Is there any way i can useit in OS X Mountain Lion

  • Running a java exe without JRE

    i have created an exe for a java application by using a C program...The c program invokes the DOS shell and runs the JAVA application...
    now how do i make this exe executable on a windows XP machine without JDK being installed...
    The second issue is that if i wrap my exe with the required JRE components the size becomes too large...how do i ship my java application as a single EXE runnable on all WINDOWS machines!!!!!!!!!!!

    Including the JRE with your app, if you zip it, will add about 14MB to your distribution. It's annoying but in the days of broadband, it's not so much of a problem. You could also check this:
    http://www.excelsior-usa.com/jet.html

  • (HP Share to Web)/(java 1.5 JRE) incompatibility problem?

    A Java application developed with JDK 1.3, and which used JRE 1.3, ran fine, but upon migrating from Java 1.3 to Java 1.5 (i.e. compiled with JDK 1.5 and using JRE 1.5), the application started having problems running on a given machine, which would give the fatal error, "javaw.exe has generated errors and will be closed by windows." This error would occur after the application would start and when the user would start to interact with application. The problem was traced to the application HP Share-to-Web, which was running on the machine in question. This problem would happen on machines running Win2K and Win98, and the aforementioned application, HP Share-to-Web, but would not happen on XP. When the application, HP Share-to-Web, was uninstalled, the Java 1.5 application would work fine. The following log file concerning this error was written on the Win98 machine. Hey..if anyone has any idea what be a happening, or if someone has experienced this same problem, any response would be appreciated.
    JAVAW caused an invalid page fault in
    module AWT.DLL at 0167:6d0ea81e.
    Registers:
    EAX=00000000 CS=0167 EIP=6d0ea81e EFLGS=00010246
    EBX=00000000 SS=016f ESP=0b76fa34 EBP=817858a0
    ECX=00000001 DS=016f ESI=006f84c0 FS=120f
    EDX=81780e9c ES=016f EDI=00000000 GS=0000
    Bytes at CS:EIP:
    8b 07 57 ff 50 58 ff 76 18 8b 07 57 ff 50 58 ff
    Stack dump:
    006c1b80 006f8500 006f84c0 6d0ea7d1 00000000 6d0ea924 00000001 0042f5d0
    7ff38b7d 006f8500 0042f5d4 0042f5d8 00000000 7ff387cf 7ff380f8 00000002

    AWT strongly suggests gui to me.
    That often means video software or hardware problems which can also include fonts.
    Does the particular software package grap the screen? And is it certified to work on the OS with the particular video hardware and software (including versions)?

  • Managing JAVA JDK and JRE with Package Management in Solaris 11.1

    I want to manage Java JDK & JRE in an Solaris environment using Package Management I'm currently running Solaris 11.1 in a VMWare host. My current latest Java release is JDK1.7.0_07 and JRE1.7.0_07. I want to upgrade to JDK1.7.0_17 & JRE1.7.0_17 using Package Management. I've tried on several occasions to upgrade to latest release of Java but I have not been successful. Each time I try using the Package Management GUI or use command line they appear to be successful but the new release does not show.
    What could I be doing wrong?
    Thanks

    I also learned that the READMEs for the following patches in My Oracle Support also describe the downgrave process:
    Patch 18362676: JAVA 6 DOWNGRADE INCORPORATION FOR ORACLE SOLARIS 11.1.15.4.0 AND 11.1.16.5.0
    Patch 18362686: JAVA 7 DOWNGRADE INCORPORATION FOR ORACLE SOLARIS 11.1.15.4.0 AND 11.1.16.5.0
    -- Alan

  • Java Sound in JRE 1.5.4?

    Hello,
    I recently installed the Java Run-time envir.. 1.5.4, for windows. Changing from the 1.5.3 version, but in the 1.5.3 version I could play .wav files, but now I cannot.
    Would anyone know if the wav player has been taken out, and has to be installed separately?
    Thank you

    There is no JRE 1.5.4 and there never will be (Sun said there won't be 1.5.x releases with x>0). There is a JRE 1.5.0 Update 4 'though (or 1.5.0_04 in old-speak). I assume you're talking about that.
    Is it possible that you installed some additional components inside your JRE-directory that didn't get migrated?

  • Could not able to RUN Java Programs in JRE 1.5.08

    hi
    I am using Jdk 1.5.8.
    I don�t have any problem in compiling the files.
    but i could not able to run the program through windows cmd prompt.
    Say name of the java file is newFile (no packages).
    When i try to run the program by using java newFile it raises a ClassNotFoundException.
    it s the same case when try to set any JDBC drivers ..
    is there any problem in my class path settings? Please help me out to fix this problem

    if your current directory is not in the classpath,you should include it in the classpath.
    To do that you can include .(dot) to your classpath variable.
    http://java.sun.com/j2se/1.3/docs/tooldocs/win32/classpath.html

  • Not able to run the Java Program from jre for the ARM processor

    Hi ,
    I am try to run the jre1.4.2 for the arm core (linux 2.6kernel) which i downloaded from the sun site.
    I am created the class file from the J2SE1.4 development kit. I created the simple HelloWorld Program and complied with J2Se then i copied that class file into my IMX board which has ARM core.
    When i run the commnd java HelloWorld i am getting this error
    dl failure on line 765Error: failed /dev/shm/jvm/j2re1.4.2/lib/arm/client/libjve
    Please give me some suggestion to solve this porblem
    Thanks in Advance
    Narendra

    I JRE i have download from the sun site . But when i am trying to run the simple helloWorld program in that it is giving the below error.
    error:
    dl failure on line 765Error: failed /dev/shm/jvm/j2re1.4.2/lib/arm/client/libjvm.so because /dev/shm/jvm/j2re1.4.2/lib/arm/client/libjvm.so: symbol __divdf3, version GCC_3.0 not defined in file libgcc_s.so.1 with link time reference.
    Can anybody help me in this how to solve this problem . I also searched in the forum but did not get any answer on that problem
    Thanks in advance.
    Narendra

  • Java Checker needs JRE to install??

    Hi Everyone,
    I have just downloaded the Java Checker for Personal Java and am having big trouble installing it. Could someone please advise. This is what it says in the install file:
    The JavaCheck installation file is a zip archive that contains a set of
    self-extracting class files. The JavaCheck download page describes the
    correct method for extracting these files by using the "jre" command.
    If you have tried to install JavaCheck by downloading the zip archive and then using an unzip utility to extract its contents, you have made a mistake. You should delete the unzipped files and directories and start over, being sure to use the "jre" command. Read the download web page for detailed instructions.
    Could someone please tell me what command I have to use to do this. When I run java against the install class (which I extracted from the zip) I get an exception of not being able to find the file.
    Thanks
    Dan

    http://java.sun.com/products/personaljava/install_instructions.html

Maybe you are looking for

  • Adobe toolbar in Office 2007 not appearing

    I'm having a problem in which the Adobe toolbar is not appearing in our Office 2007 applications.  I have Acrobat 8 installed.  I've already followed all the steps in the following article: http://helpx.adobe.com/acrobat/kb/pdfmaker-unavailable-offic

  • Safari: SWF doesn't resize during window resize

    I'm seeing a resize problem with Safari and FP9 beta, at least when the SWF is loaded directly in the browser window without an HTML wrapper. When you resize the browser window, the app contents in the SWF don't change size until the window resize is

  • Questions upon migrating to MAC

    Hello All, It's my pleasure for me to join this community. I am looking for a replacement for my Windows XP pc. While on it me seriously considers the MacBook pro as one option. However several generic/high level and several specific questions arise

  • Backup physical standby delete arch

    Hi I am scheduling hot backup for physical standby, the backup does backup database plus archivelog delete input... my question is what if there is delay with apply process and the rman job back's up the archive log and removes them before they get a

  • Garageband crashes when selecting Soundsticks in prefs

    Been working fine for a week, a pile of software upgrades added yesterday via Software update, and now can't get to Hardon Karmon Soundsticks using the rpeferences in Garageband - which is bad enough anyway but if you're a quad core user this is seri