JRE Installations.

If the default JRE on a system is, for example, JRE 1.4.2_05, and I download a Web Start app that requires some other version, such as 1.5 (higher) or 1.3.1_02 (lower), I assume it will download and install the required JRE. The question is, does this become the default JRE for the system (browser plug-in, command line), not just a private copy for use by Web Start?
If it does (normally) become the default, is there some way I can make it not do that?

The command-line "default" depends on your path, which the installer does not modify at all. As for the browser plugin, AFAIK the installer asks the user.

Similar Messages

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

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

  • 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

  • JRE installer

    I try to deploy own Jre installer. I view tutorial at http://lopica.sourceforge.net/services/
    In servlet DownloadService I arrived in line 102 out.write(buffer, 0, readLen); and I've exception when write jre-6u4-windows-i586-p.exe to servlet outputstream and i don't understand.
    thanks for your help
    InputStream inputStream = getServletContext().getResourceAsStream(uri);
                            if (inputStream != null) {
                                InputStream bufferedStream = new BufferedInputStream(inputStream);
                                OutputStream out = new BufferedOutputStream(response.getOutputStream());
                                byte[] buffer = new byte[8192];
                                int readLen = 0;
                                while ((readLen = bufferedStream.read(buffer)) != -1) {
                                    out.write(buffer, 0, readLen);
                                out.flush();
                                bufferedStream.close();
                            }I've got Exception :
    ClientAbortException:  java.net.SocketException: Software caused connection abort: socket write error
         at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:366)
         at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:328)
         at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:392)
         at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:381)
         at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:88)
         at java.io.ByteArrayOutputStream.writeTo(ByteArrayOutputStream.java:112)
         at com.apo.server.webstartservices.DownloadService.service(DownloadService.java:116)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.net.SocketException: Software caused connection abort: socket write error
         at java.net.SocketOutputStream.socketWrite0(Native Method)
         at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
         at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
         at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
         at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:403)
         at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:323)
         at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:770)
         at org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(IdentityOutputFilter.java:117)
         at org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:580)
         at org.apache.coyote.Response.doWrite(Response.java:555)
         at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:361)
         ... 21 more
    6 f�vr. 2008 22:39:42 org.apache.catalina.core.StandardWrapperValve invoke
    GRAVE: "Servlet.service()" pour la servlet DownloadService a g�n�r� une exception
    java.lang.IllegalStateException
         at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:404)
         at com.apo.server.webstartservices.DownloadService.service(DownloadService.java:128)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)

    It sounds like the client doesn't know what to do with what you are sending. Are you sure you are setting all of the header information correctly? Try using a telnet client to issue the GET request and see what is coming back.

  • Where does Jre Installs

    Hello everybody !
    Where or should I put it correctly how does the
    Jre installs it self in windows enviroment ?
    I guessed sun uses the folder Java as default and then make
    some changes in the Windows Registry.
    Is this folder always going to be java as default ? and
    Will sun continue to use the same folders in the registry ?
    Where can I get to know much about this ?
    Thanks
    bashiro

    I'd suggest specifying why you want to know how to locate Sun's JRE on a Windows computer. Usually people want to know about the specific virtual machine their Java code is currently running on (or about to run on), and the techniques for detecting this have no relation to the ones you're asking for.

  • Copying msvcr71.dll from JRE installation

    Hi,
    When we started developing with Java 6, we found that the exe files we generated would fail because they could not find "msvcr71.dll". We know how to resolve that problem - the release notes for Java 6 say that we should include that dll in the same directory as the exe.
    http://java.sun.com/javase/6/webnotes/
    (under Windows notes)
    Does anyone know what the licensing issues are for this? The release notes for Java 6 only tell us to distribute the DLL, but they don't mention any license obligations on us for doing so, and the page that they link to on the MSDN contains no information about redistribution.
    We were hoping to copy the DLL that is included in the JRE installation into our own installation, but we aren't sure if this is legal.
    The only thing we've been able to find about this is a similar issue with Python distributions where because developers would be distributing a version of Python with their software, and that Python distribution was created with a licensed version of MS Visual C (where the DLL comes from), then it would be ok that they were "distributing" the dll with their own software.
    The text of that argument is at http://www.thescripts.com/forum/thread554311.html
    Does anyone know what the licensing situation is?
    Thanks

    If you have a license for Microsoft Visual C++ 2003 then it works
    check the link
    http://www.thescripts.com/forum/thread554311.html
    Regards

  • ZAC JRE installation location

    Where does the ZAC put the JRE when it is deployed with the bootstrap
    installer (i.e. when Load Own JRE is selected)? Sometimes I get it on
    the
    C:\ drive but on some NT computers I am getting it on the user's
    homedrive/homepath. But...on one user that had a non-C:\
    homedrive/homepath, ZAC still put the JRE on C:\!!
    How can I know FOR CERTAIN where on the client's machine the JRE will be
    installed. I need to know because my application is being subsequently
    launched from a batch file and I need to create the batch file (created
    at
    install time) with the correct path to the JRE.
    Also, the BEA documentation
    (http://www.weblogic.com/docs/admindocs/zac.html#jre) says "the user
    ultimately decides where the JRE shall be installed." How and when does
    the
    user get to decide the JRE installation directory? I know they can
    select
    the directory for the application, but the JRE doesn't end up in the
    same
    directory as the application.
    Finally, please create a newsgroup just for ZAC. There is certainly
    plenty
    of interest and issues to warrant its own newsgroup.
    -Bob

    I've had a similar experience. I think ZAC needs to be more flexible when it
    comes to customization such as installation directories for JRE.
    !! VOTE FOR ZAC NEWSGROUP !!
    Cheers,
    Ivan
    Bob Lane <[email protected]> wrote in message
    news:[email protected]..
    Where does the ZAC put the JRE when it is deployed with the bootstrap
    installer (i.e. when Load Own JRE is selected)? Sometimes I get it on
    the
    C:\ drive but on some NT computers I am getting it on the user's
    homedrive/homepath. But...on one user that had a non-C:\
    homedrive/homepath, ZAC still put the JRE on C:\!!
    How can I know FOR CERTAIN where on the client's machine the JRE will be
    installed. I need to know because my application is being subsequently
    launched from a batch file and I need to create the batch file (created
    at
    install time) with the correct path to the JRE.
    Also, the BEA documentation
    (http://www.weblogic.com/docs/admindocs/zac.html#jre) says "the user
    ultimately decides where the JRE shall be installed." How and when does
    the
    user get to decide the JRE installation directory? I know they can
    select
    the directory for the application, but the JRE doesn't end up in the
    same
    directory as the application.
    Finally, please create a newsgroup just for ZAC. There is certainly
    plenty
    of interest and issues to warrant its own newsgroup.
    -Bob

  • Referencing a jre installation inside of a jar file

    Hi,
    I wrote a a small program that executes a JRE.exe installation when executed.
    My problem is that I can't figure out how to reference the JRE installation that I've packaged inside of the Jar file.
    I know that this must have a simple answer but I haven't been able to find one in the tutorials.
    Any help would be apreciated.

    You can't do that. How can expect to execute code in a jar file when the JRE that is needed is IN that jar file? You either have to:
    1) Install the JRE prior to calling your applet or application or
    2) If this is an applet on a webpage, you can run your HTML thru SUN's Htmlconverter which sets up the tags correctly and provides for automatic download of the JRE at runtime.

  • Packaging JRE/plug-in with Mozilla & our app... is JRE installer required?

    We distribute a version of our application as a standalone implementation of our web application. We use an applet to act as a wrapper of our application server, proxying request/responses through JavaScript/applet instead of HTTP/servlet.
    Right now we package the installer for our standalone application so that it installs JRE 1.3.1_01 using the standard installer, then installs the application. When the user wants to run the application, he opens a HTML page in IE 5.5 or IE 6 referencing the applet. From here the application runs just like it runs in the server-based mode.
    The problem with this model is our dependency on the target system having the correct browser. I would like to package Mozilla and the JRE with the application, thus giving us more control over the installation.
    Ideally, I would like to have an installer that simply creates a directory with our application, a dedicated copy of Mozilla, and a dedicated copy the JRE. That way we could custom configure Mozilla to contain NP*.DLL in the bin/plugins directory, and have a custom policy file in the JRE. Does the JRE installer do anything 'special,' such as create registry entries that the plug-in must reference to run? Does anyone have similar experience with doing this?
    Thanks!

    I'm actually trying to do the same thing I've been wondering what the best way is to package the JRE in this case. Is there a way to install the JRE without using the installer and just copy the files where we need to put them? I am using Phoenix, a mozilla fork, that does not have the plugins folder updated with the proper java plugins when the JRE is installed, we have to manually copy the plugins that got installed into the Mozilla folder. Please let me know if you found anything.
    Thanx.

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

  • Getting the "Java path" defined in a Java JRE installation

    Hallo!
    I have already tried to get some help with this issue but am still unable to get the JRE operational.
    What have I undertaken:
    1. Uninstalled all previous platform modules
    2. Removed all traces of previous plugins and registry entries
    3. Re-installed latest level of Java JRE
    When I now try to use the cmd.exe and input "java -version" the error message I get is that Java is unknown.
    When I try to install the application for which I needed JRE, the installation hangs up with "Java not fully installed".
    Is there any documentation which fully describes the process in steps an untrained user can understand?
    Better still is there a tool which can monitor or test the installation to indicate where I may have gone adrift?
    Any useful tips are welcome.
    Kind regards, forkinpm.

    hi,
    Check the classpath and path settings of envoirnement variables. may be u havent changed them. The java-version command searches the java from there only.
    manik;

Maybe you are looking for