JDK\JRE installation

Hi,
I hope somebody can clear something up for me, it's something that has been bugging me and I cant find the answer.
When I installed the jdk and jre I believe that I got 2 folders, one for each (if this is wrong then please correct me) as the installation times for the folders are 2 minutes apart.
However when I look in the jdk folder it has a jre folder within in it, that looks to contain all the items from the jre installation.
Can somebody tell me what is the standard jre you would be using from an installation? The one in the jdk folder or the one in jre folder?
Is one redundant?
Thanks

PaulOckleford wrote:
By 'the one' in the jre folder do you mean the bin folder? As I dont have a jdk folder in the jre installation directory.There is no jdk folder in the jre installation directory. A jre is intended to provide an execution environment for classes.
I find this even more strange and I am even more confused now because there is no javac in the bin folder of the jre.javac is available in a JDK and not a JRE. A JRE is intended to be used with classes - those are already compiled and there is no need to have a compiler in there. The JDK is meant for developers and it will have a javac executable.
I guess then those people can only compile classes from inside their IDE and not from the command line?huh?

Similar Messages

  • JDK + JRE installation from AUR, and OPENJDK6 removal...

    Seems to me most of the discussion about this is outdated, so here I go:
    I have been running into some issues with programming Arduino. Replaced my avr-gcc with avr-gcc svn, but to no avail. So now I'm going for the standard distribution package of Arduino on most, if not on linux, systems (MACOSX, Windows) that uses JDK and JRE from Sun Oracle. Got the PKGBUILD tarballs from AUR and successfully built my own JRE install, but here is my issue:
    [denizen@FIDO-ARCH jre]$ sudo pacman -Rdu openjdk6 && sudo pacman -U jre-7-3-x86_64.pkg.tar.xz
    checking dependencies...
    warning: removing openjdk6 from target list
    there is nothing to do
    resolving dependencies...
    looking for inter-conflicts...
    :: jre and openjdk6 are in conflict (java-runtime). Remove openjdk6? [y/N] y
    error: failed to prepare transaction (could not satisfy dependencies)
    :: eclipse: requires java-environment
    :: netbeans: requires java-environment
    So I'm assuming I need JDK as well, but when I build JDK from AUR I get:
    [denizen@FIDO-ARCH jdk]$ makepkg PKGBUILD
    ==> Making package: jdk 7-3 (Fri Sep 30 00:45:39 PHT 2011)
    ==> Checking runtime dependencies...
    ==> Missing Dependencies:
    -> jre
    ==> Checking buildtime dependencies...
    ==> ERROR: Could not resolve all dependencies.
    So has anyone done this without issue already? Am I missing a step or command? I'm at a loss at the moment.
    Last edited by reidel (2011-09-29 16:56:58)

    Now, can you tell me how to recycle the JDK packaged in the JRE AUR PKGBUILD script fetched from the internet? Its such a bother having to download it again when I already have a viable copy.
    Edit: What I mean is reuse the JDK package gotten from Sun Oracle which currently resides in the src dir of my JRE AUR package build. I tried copying it straight to the src folder of the JDK builder, but to no avail... currently looking through makepkg wiki...
    Last edited by reidel (2011-09-29 17:15:08)

  • Install JDK/JRE 1.4.2 *after* JDK/JRE 1.5

    Hello,
    I've installed the latest JDK/JRE 1.5, but for various reasons I need to install the latest version of JDK/JRE 1.4.2.
    I'm using Windows XP SP2, and the Firefox browser is my default web browser.
    Is this possible without creating a mess? In other words, will the 1.4.2 JDK/JRE installer recognize that a later version of the JDK/JRE is already installed and not replace such common components as the Control Panel applet with the earlier version? And will I be able to easily specify what version of the JRE the system should be executed with Java programs, jars and applets, as that Java Control Panel is supposed to allow?
    I really want JDK/JRE 1.5 to be the usual system default, but allow occasional temporary changes via the Java Control Panel. I would
    change over to the JDK 1.4.2 by altering the JAVA_HOME to point to the appropiate directory and placing %JAVA_HOME%\BIN at the head of the PATH.
    Will this work?

    I've installed the latest JDK/JRE 1.5, but for
    various reasons I need to install the latest version
    of JDK/JRE 1.4.2.So do it.
    Is this possible without creating a mess?Yes. Though you can of course only use one plug-in and only have one in your path.
    In other
    words, will the 1.4.2 JDK/JRE installer recognize
    that a later version of the JDK/JRE is already
    installed and not replace such common components as
    the Control Panel applet with the earlier version?No, I doubt that. But you could install them the other way around, uninstalling 1.5, then then first installing 1.4.2 andf then 1.5 again.

  • Oracle universal installer asking JDK/JRE location

    hi,
    i am trying to open the Oracle universal installer in Linux but it is asking to specify the JDK/JRE location.
    it gives me a prompt to enter the above,
    the prompt is,
    Please specify JDK/JRE Location (e.g. /home/jre), <location>/bin/java should exist:
    please help.
    thanks,

    What do you expect to get from the installation of Oracle Fusion? Oracle Fusion Application is a collection of software, and each software has its own instructions to download/install.
    http://www.oracle.com/us/products/applications/fusion/index.html
    http://becomeappsdba.blogspot.com/2007/02/is-oracle-fusion-really-confusion.html
    do i need to install fusion middleware seprately first before installing fusion apps?
    i thought fusion apps would include everything including middleware, DB etc.Yes -- If you want to install Oracle Fusion, you have to install the Database first then Oracle Fusion Middleware.
    Thanks,
    Hussein

  • Error in writing to file '$ORACLE_HOME/jdk/jre/bin/java'

    Hi,
    I have installed Forms & Reports Services Standalone (10.1.2.0.2) on RHEL 5 and now I am applying the Oracle Application Server 10g Release 2, Patch Set 3 (10.1.2.3), but OUI gives the following error:
    Error in writing to file '$ORACLE_HOME/jdk/jre/bin/java'.
    [$ORACLE_HOME/jdk/jre/bin/java
    (Text file busy)]
    I can't seem to find anything about this error on metalink or via google. Can anyone help me solve this? Thanks.

    Ok, this time I stopped all processes first with opmnctl stopall and emctl stop iasconsole. I then started OUI again to install the patch. It seemed to go fine - i didnt get that java error this time, but another error almost at the end of the installation:
    Error in invoking target 'proxy_install runm_install server_install cgi_install
    cli_install conv_install qv_install' of makefile
    '/opt/oracle/Forms10gR2/reports/lib/ins_reports.mk'
    According to Metalink ID 564174.1 - "Any installation of Oracle Application Server 10g Release 2 (10.1.2.0.2) on OEL 5.x or RHEL 5.x in which Reports is getting installed will fail with reports relinking errors" and the solution is as follows:
    # rpm -i xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386.rpm
    # mv /usr/lib/libXtst.so.6 /usr/lib/libXtst.so.6.ORG
    # ln -s /usr/X11R6/lib/libXtst.so.6 /usr/lib/libXtst.so.6
    I have already done these 3 steps before the base installation (just to avoid this error), yet I am getting this error even when the symbolic link already exists. Do you think I can just ignore this error and continue with the installation, or is there something else I need to check first?

  • JNLP does not trigger JRE installation

    Hi
    I want to launch my application with a minimum version of jre(i.e. 1.6.0_10). If on the system there is no jre installed
    or jre installed on the system is older than 1.6.0_10, i want jnlp to trigger the installation of jre 1.6.0_25.
    I tried following jnlp tags in my jnlp file:
    <java version="1.6.0_10+" href="http://download.oracle.com/otn-pub/java/jdk/6u25-b06/jre-6u25-windows-i586.exe"/>
    <j2se version="1.6.0_10+" href="http://download.oracle.com/otn-pub/java/jdk/6u25-b06/jre-6u25-windows-i586.exe"/>
    None of the above tags trigger the installation of jre if on the system there is no jre installed
    or installed jre is older than 1.6.0_10.
    Any help would be great.
    Thanks in advance.

    Andrew Thompson wrote:
    1) Why would you expect the JNLP to enforce _25+, when the JNLP specifies..
    ..<java version="1.6.0_10+" href="http://download.oracle.com/otn-pub/java/jdk/6u25-b06/jre-6u25-windows-i586.exe"/>
    _10+?My application is certified with jre version 1.6.0_25, but it can run on any jre version greater than 1.6.0_10. If user has any jre greater than 1.6.0_10 version application will use that jre. But if user does not have minimal jre version (i.e. 1.6.0_10) then i want to trigger jre installation and install the certified jre version for application(i.e. 1.6.0_25).
    2) Have you validated the JNLP file using JaNeLA?
    3) How is the link to the JNLP embedded in the web page?To me JNLP looks fine as it works fine if the system has atleast minimal jre version (i.e. 1.6.0_10), but fails to download jre 1.6.0_25 if it does not have 1.6.0_10 or any greater jre installed.
    The link "http://download.oracle.com/otn-pub/java/jdk/6u25-b06/jre-6u25-windows-i586.exe" is the download link for jre 1.6.0_25.

  • Iwcadmin error with JDK/JRE version

    hi,
    I encountered this problem when executing iwcadmin utility ./iwcadmin -V in SJM on Sun Solaris , an error prompt displays "
    Java runtime at /opt/ca/sharedutils/JRE/1.4.2_09 is below minimum requirement of 1.5.0
    Please make sure the Java runtime at standard location meets the
    minimum requirement, or set JAVA_HOME to point to an installation that does.
    here is the OS and other JDK / JRE path available in the system.
    other jdk5 : /usr/jdk/jdk1.5.0_16/ or jre5 /usr/jdk/jdk1.5.0_16/jre
    uname -srv
    SunOS 5.10 Generic_137137-09
    How can I make it use the jdk5/jre5 or at least temporarily during my user session?

    Not sure which shell you are using but ....
    CSH: set JAVA_HOME=/usr/jdk/jdk1.5.0_16
    KSH or BASH: export JAVA_HOME=/usr/jdk/jdk1.5.0_16
    then just invoke "iwcadmin"

  • Memory problem with jdk/jre 1.1.8

    My name is BERGMANN Yannick.
    I'm working for IRM in Li?ge and we developped an application (user interface for an industrial measurement system) in Java (JDK/JRE version : 1.1.8).
    We have a big memory problem with this application :
    - This user interface is running on a WINDOWS NT PC with 128MB.
    - This is the command to lanch our application :
    C:\Program Files\JavaSoft\JRE\1.1\bin\jrew.exe" -ms32m -mx32m -cp "\Program Files\HMI\HMI.zip;\Velocis\Add_On\Jdbc\raima.jar;\Program Files\Swing-1.1.1\swingall.jar" be.irm.hmi.kernel.HMI -t15 -d"Velocis rdstcp" -newdb -mf1m -mr20
    - When our application is running, everything seems to be OK in memory for it. The garbage collector seems to work properly and our application has always at least 5MB free memory (We use the java instruction "Runtime.getRuntime().freeMemory()" to know this).
    - But when we look in the "Windows NT task manager" for the "jrew" application, the memory increases ALWAYS.
    - After 5 days our application is completely frozen and blocked ...???
    - here is a memory map of our Windows NT PC :
         "jre.exe"     "commit total"     "commit limit"     "commit peak"     "physical total"     "physical available"     "physical file cache"     
    Monday     92264     109256     194944     109424     130484     19492     6216     
    Thuesday     106196     123072     194944     123348     130484     6072     5840     
    Wednesday     110836     132288     194944     132416     130484     4408     5140     
    Thursday     108200     144980     194944     145140     130484     4888     5148     
    Friday     109440     158319     194944     161334     130484     4911     4992     
    Monday     111600     209060     228548     209148     130484     5184     3484     
    Have you any idea of what is happening with "jrew" in memory ?
    We have had this problem for six month and we are totaly out of idea.
    If you can give us any idea, we'll appreciate a lot.
    Thanks in advance,
    BERGMANN Yannick
    IRM SA - Software Engineer
    Tel. (32)4/239.90.10
    Tel. (32)4/239.90.74 (direct)
    Fax (32)4/263.40.97
    E-mail [email protected]

    We had a memory problem with a swing applet in our company. The major reason for this was that we added new components in a JTree and removed them later again, and the components we removed were never garbage collected. This was because with these components we added different listeners, and we didn't remove the listeners after we didn't need the components anymore. After we corrected this, the components where garbage collected.
    Perhaps it's a similar problem you have, or I have no idea. Check that you remove actionlisteners, mouselisteners etc from components you want to be garbage collected.
    You could also test your application with OptimizeIt to see what objects you create and how many you get of them over time: http://www.vmgear.com

  • Using axbridge.dll without going through the JRE installation process

    I've searched the web and this forum for this specific problem, and have found related items, but nothing that quite answers the question.
    I have an application that uses the JRE's axbridge.dll to access a DLL created from a Java bean. I used the packager to create a DLL named MyBean.dll.
    When I go through the full JRE install, everything works great. That is to say, when I execute Sun's JRE installation program and go through the normal install process, I can access the bean through MyBean.dll without any problems.
    I am accessing MyBean.dll from a Visual Basic 6.0 application. Converting to VB .Net is NOT an option at this time. The VB app uses MyBean.dll for a critical part of the application.
    It is my understanding that it is not strictly necessary to go through the full JRE installation process. Simply deploying the JRE by copying its directory (and all subdirectories) to your application's directory structure should be sufficient. This would be HIGHLY desirable for my application. In fact, if I can't do this, it may be a show-stopper.
    When I install my application in this way (i.e, by simply copying the JRE instead of "installing" it) it doesn't work at all. I immediately get an error saying that the executable "has encountered a problem and needs to close. We are sorry for the inconvenience" and a dialog is displayed offering to send the problem information to Microsoft.
    The details indicate clearly that the problem occurs in the axbridge.dll, version 1.4.2.60.
    1. Any ideas on how to get the axbridge.dll to work without going through the full JRE install?
    2. Are there any alternatives to using the axbridge.dll to get my VB app to be able to use the Java? Remember, it is VB that must call the Java, NOT the other way around.
    3. Is JNI an alternative? If so, can I use JNI to get VB to use Java, or do I have to write the DLL's in C++?
    Any help you can give would be VERY MUCH appreciated.

    I'm also on a JRE installation problem with the bridge.
    Here is a regmon extract on excel using a dll that uses a java-packaged dll from the bridge:
    5229 5.69504923 EXCEL.EXE:2364 QueryValue HKCR\CLSID\{9DD49FCD-BB61-414E-88C8-E6F5B35AEDCB}\InprocServer32\(Default) SUCCESS "C:\win32app\Specific\jre1.5.0_05\bin\axbridge.dll" << The axbridge dll in a specific location
    5271 5.70646800 EXCEL.EXE:2364 QueryValue HKLM\SOFTWARE\JavaSoft\Java Plug-in\1.5.0_05\JavaHome SUCCESS "C:\Program Files\Java\jre1.5.0_05" << an installed JRE 1.5.0
    This is confirmed with process explorer : excel is using "C:\Program Files\Java\jre1.5.0_05\lib\rt.jar" and not "C:\win32app\Specific\jre1.5.0_05\lib\rt.jar"
    In other word, the axbridge check for its installation location in the registry to know where to start.
    Even if all your components have been updated in the registry as suggested here : http://forum.java.sun.com/thread.jspa?forumID=40&threadID=559704
    JRE Bug or feature?
    Anyway the registry is evil.

  • Why are all jar files not compressed in the JRE installer?

    I used 7zip to unpack jre-6u12-windows-i586-p.exe (Oracle JRE Installer). On unpacking, I got a core.zip, a zipper.exe and a few other files.
    Again on exploding core.zip I found a few things. core.zip contains all the jar files just like it would be after installation except for 7 jar files.
    charsets.jar
    deploy.jar
    javaws.jar
    jsse.jar
    localedata.jar
    plugin.jar
    rt.jar
    Instead of these jar files there exists the corresponding packfiles
    charsets.pack
    deploy.pack
    javaws.pack
    jsse.pack
    localedata.pack
    plugin.pack
    rt.pack
    I think these are files created by pack200.exe & unpack200.exe is run on them after installation to create the corresponding jar files.
    So now I have a few questions
    Why are only these 7 files run through pack200.exe. I assume its because they are bigger than other files. But it wouldn't take that much effort to pack all jar files & unpack them after installation.
    The .pack extension suggests that these are packed but not gzipped. Again why would Oracle not do a gzip also? for eg with rt.jar packing reduces size from 45 MB to 12 MB, while adding gzip also reduces it to 6 MB.
    Edited by: 966944 on Oct 22, 2012 8:19 AM

    Whatever the truth of all this may be, you won't find it here. This is a user to user forum, not Oracle support or a channel to the developers. All you will get here at best is valid post hoc reasoning: at worst, guesswork. And if you're trying to bring this issue to Oracle's attention, again this isn't the place to do it. Locking the thread.

  • JDK/JRE Version support for Oracle Lite

    Hi,
    We have developed an application using jdk 1.4.x which also using Oracle9i Lite 5.0.2 release as a database. Application behaves normal except while closing it throws java exception (Exceptio Guard Page Exception) error.
    Is it because of the JDK Version we are using? What is the JDK/JRE version level supported by Oracle Lite.
    Thanks
    Krishna

    Right
    I got the same problem too.
    When my program and oracle 9i lite is running under JRE1.3.1, everything is ok.
    However, when i migrate the jre to 1.4.x, the program must fail and report DLL exception after closing.
    So trouble~!

  • Basic questions about JRE installation

    I am using NSIS to make a installer, which insalls the JRE 1.5, JMF, Javamp3, then our own software packages.....
    Firstly I have some basic question about the general installatio/deinstallation.
    1 Why sometimes is it required to reboot computer for the installed software to take effect, e.g.
    JRE 1.5. If not, what doest NOT take effect? (Actually in many cases, it seems to work even if not reboot the computer).
    Regarding the JRE 1.5,
    I am wondering:
    1 where is the registry entry written in windows?
    2 how to make the JRE installation process silent?
    Thanks !

    Just click on this link http://mindprod.com/jgloss/registry.html.

  • Problems with JRE installation 1.6.0_18 in silent mode

    Hi!
    I have problems with installing the JRE from the cmd line in silent mode and in a directory with spaces in the path.
    If I remove the spaces in the INSTALLDIR, the JRE installs in the directory I have specified but not when I use spaces in the path.
    The command I run is following:
    jre-6u18-windows-i586.exe /s /v"/qn INSTALLDIR="C:\Program Files (x86)\company\product test\java\""
    all I get is the help window to the windows installer with the different options. What am I missing?
    BR,
    /Peter

    Hi
    You  should install this Patch:
    Patch 13948973: JDEV 11.1.1.6.0 FREEZES IN CUSTOMIZATION MODE DUE TO DEADLOCK
    After the installation the JDev works fine again.
    Regards, David Perez

  • What's the significance of the letter -p in the JRE installables

    Hi,
    Can anybody please let me know what is the significance of the letter "-p" in the JRE installables as i could see that till JRE 1.6.0_13 the name for the Window offline installable has -p {for eg: jre-6u12-windows-i586-p.exe} where as for the higher version i.e 1.6.0_14 onwards there is no letter "-p" {for eg: jre-6u14-windows-i586.exe} .
    Appreciate your quick response in this regards.

    qm control is only useful for procured materials
    it
    Manage quality-related information for materials, vendors, and manufacturers in quality info records
    Monitor the QM systems of vendors and manufacturers
    Supply quality documents with requests for quotations and purchase orders
    Certify vendors or manufacturers that have QM systems implemented, to reduce the inspection requirement
    Request that quality certificates be submitted with the delivered goods and monitor the receipt of these certificates
    Inspect vendor goods at vendor sites (source inspections)
    Block the payment of invoices until the goods have been inspected and accepted
    U can use qm control key depending upon ur requirement

  • Multiple JRE Installations and Coexistence

    Hi Guys
    Could any of you please help at all.
    I am looking to find out is anyone has experienced or knows of any coexistence issues relating to Sun JRE installations.
    We have the following JRE versions deployed on our estate:
    1.4.2_04, 1.4.2_05 and 1.30_02
    These are existing application dependencies.
    We are looking to also deploy version 1.5.0_05 for a new application so this could potentially be installed on a machine with any of the above versions already installed.
    If anyone has experienced any coexistence issues with any of the above, I would be very grateful of your help.
    Many thanks all

    6u10 offers a solution to this problem. The rewritten plugin in 6u10 allows the plugin to call the JRE version specified by the applet. The html source calling the applet must specify the version, which you may need to add if it is not already there.
    Links:
    How to specify the JRE your applet needs:
    [https://jdk6.dev.java.net/plugin2/#JAVA_VERSION]
    Info about the changes to JRE versions in the Java Control Panel:
    [https://jdk6.dev.java.net/plugin2/#CONTROL_PANEL]
    Here is where you can download 6u10, which will FCS soon:
    [https://jdk6.dev.java.net/6u10ea.html]
    -Roger

Maybe you are looking for

  • OATS - Browser is not getting launched when I click on the record button.

    Hi, I've just installed Oracle Application Testing Suite in my machine. During the installation process I was intimated that the EmpAppServer in the installation path does not contain the jboss binaries. However, it allowed me to continue with the in

  • Strange folders appearing in "Save As" dialog box

    Hello *Description of Problem or Question: If you open a Web Intelligence report that has been sent to you from your Inbox I have noticed there are "extra" folders I wouldn't expect to see. As an administrator and can see the following extra "strange

  • SnpsFTP not working with Windows domain/username

    Hi All We are using the following script to delete a file in FTP server. Works well with UNIX FTP server but fails with WINDOWS FTP server. Windows FTP username happens to be of format "domain/username". Is backslash causing the issue? Jython import

  • Ongoing problems with Flash in Firefox 8

    I am still having problems with Flash player since upgrading to Firfox 8 - see previous posts. Symptoms: When I try to access any flash containing page, the flash content does not load or play - the area it should be is blank or shrunk out - not even

  • Java 6 or se 6 update for powerbook

    first timer here is it possible to upgrade to java se6 or 1.6 on powerbook g4 im new to mac i bought it on ebay so im kinda interested on what i can do with it and could i also upgrade to a new software like 10.7.3