JRE installation without JDK

Hi,
I am using 9i AS on Solaris 8 as application server for J2EE application development. In production server, is it possible to install JRE alone so that I can run the deployment files without JDK.
Thanks in advance,
Karan.

Hi,
I don't know about that application server, but many application servers need a JDK in order to run. The JDK is used to compile jsp-pages etc.
/Kaj

Similar Messages

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

  • JRE Download without Installation

    Hy guys,
    Its me again with a beginner Question i dont even need to search if we had that yet.
    I feel like the only stupid one that has this problem...
    WHERE CAN I DOWNLOAD A NO-INSTALL JRE?
    I mean i can find a hundred million links to jre installation (e.g. .exe) files, but none i can just download and
    have like this folder structure:
    - jre1.6.0_15
    - bin
    - lib
    - Changes (File)
    - Copyright (File)
    You know what i mean? I am a developper since 5 years and waste my time with such things:(
    (I waste about 2 hours with any new JRE Release just because i cant install something on my working machine..)
    Thank you very much for any helpful link (I mean it seems that i realy dont understand something about this JREs...) .
    Regards
    Balsi

    Balsi wrote:
    I see someone who can make a 5 min post but not do a 5min install?
    => Exactly, installation rights are suppressed in my company, i missed my train,
    so i wanted to find out how about a no-install distribution.
    Just install it so its done properly.. They provide a ntebeans kit and a everything u need in 1 conveniant download for a reason. I did this today and took me 5 mins!
    => Yeah, exactly what i didnt want to have.
    But after this i still need to say:
    "Your post is worthless"
    Regards
    Balsi
    P.s. dont be mad with me, i just have enoth of these "i repeat what everyone else said and make it look like the one who asked is stupid", it took me 5 mins now (well i cant acctually do anything anyways...) to write this... even if its as senceless as your post, i know youre reading it;)
    Have a nice day!This morning Balsi went to work and wanted Java on the company PC.....
    This morning Yucca wanted Java on his laptop.
    Balsi did not spend 5 mins to google as he feels to important to use this search function and chose to do a post where he sounded uniterested with comments like "waster of my time"
    Yucca googled Java JDK download and has everything he needs for tomorrow.
    Balsi does not.
    My post was nort worthless it showed how 5 mins can get you way ahead if you just make the effort.
    Edited by: Yucca on Nov 11, 2008 7:57 PM

  • Run applications without  JDK/JRE?

    Dear Sir/Mdm,
    Is it possible if i could run a compiled Java application on a PC WITHOUT jdk or jre installed? If it is possible, could you share some ideas with me? Essentially, i just want to double click a certain icon in order to run the application, and no more hassles. And i want to keep the entire package small & without JRE. Please advice. Thank you for your time and attentions.
    Sincerely Budy

    The options I would consider: use an executable jar or my favorite, Java WebStart:
    http://java.sun.com/products/javawebstart/
    Keep in mind platform independency, if this is that much of a problem, bundle your application with the latest JRE.

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

  • How to run java programs on machines without JDK

    I want to make an installer for my java program that would work on machines even without JDK or Java runtime. How should I go?

    Here's another point.
    There is no particular need to "install" anything to run java. You can simply copy the jre to a directory of your choice, and from that directory invioke the JVM as you need it.

  • How can I run a application on a machine without JDK installed?

    Hi all,
    I'm new to java,I want to know if there's a way to run a application on a machine without JDK installed, I noticed that some server application such as Domino have CORBA applications running in background,how can I set up such environment without JDK installed?
    Thanks.

    I believe there are two basic ways you could go about this.
    1) Install the JRE (Java Runtime Environment) on the machine in question.
    2) Use JSP to make a server side app that interacts via browser on the local machine.

  • WebLogic 10.3 refuses to install silently without JDK

    Hi,
    I'm trying to figure out whether the WLS 10.3 package installer needs a JRE, or a JDK, in order to install silently. When trying to install silently on Solaris SPARC (bin installation, not generic jar installation) with a silent.xml file that contains the following line:
    <data-value name="LOCAL_JVMS" value="/opt/jre160_05"/>
    I get an error saying that "/opt/jre160_05" is not a java home, and "please select an appropriate JDK".
    In the documentation (http://edocs.bea.com/common/docs103/install/prepare.html#wp1130320), this is what's written about the Java prerequisite for WLS (table 2-1):
    +"The Products installation program requires a Java run-time environment (JRE) to run. A JRE is bundled in the Windows installation program and in some UNIX installation programs (those with filenames ending in .bin). For other UNIX platforms, the installation program does not install a JDK. Filenames for these installation programs end in .jar. To run the .jar installation programs, you must have the appropriate version of the JDK installed on your system, and include the bin directory of the JDK at the beginning of the PATH variable definition. It is important that you use a JDK because the installation process assigns values to JAVA_HOME and related variables to point to the JDK directory."+
    I'm confused. Is a JRE needed, or a JDK? Please help me sort this out.
    Thanks in advance,
    Amnon

    Please remove <data-value name="LOCAL_JVMS"> tag, You are trying to install a JDK on /opt/JRE that for some reason this is being refused.
    If this don't works please show us your silent.xml file.
    Best regards.

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

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

  • Default Installation Of JDK (SDK)?

    Can anyone give me a list of default installtion dir of JDK or SDK for windows, linux, and other platforms? I need to find tools.jar in JDK, but using java.home doesn't always work because the user could be using the JRE, in which case java.home will point to the JRE dir, not JDK.
    Any help appreciated,
    CoolAsIce

    I don't think my original query was understood. I want your default installation of the JDK. Perhaps giving you my code will make you understand my intentions better:
    import java.lang.reflect.*;
    import java.io.*;
    import java.net.*;
    public class Compile
         private static Class mainClass = null;
         private static Method compileMethod = null;
         static
              try
                   File toolsJar = null;
                   File[] possibleLocations = new File[]
                        new File(new File(System.getProperty("java.home")).getParent(), "lib/tools.jar"),
                        new File("C:/Program Files/Java/jdk1.5.0_02/lib/tools.jar"),
                        new File("C:/j2sdk1.4.2_08/lib/tools.jar")
                   for(int i=0; i<possibleLocations.length; i++)
                        if(possibleLocations.exists())
                             toolsJar = possibleLocations[i];
                             break;
                   if(toolsJar != null)
                        mainClass = new URLClassLoader(new URL[]{toolsJar.toURL()}).loadClass("com.sun.tools.javac.Main");
                        compileMethod = mainClass.getMethod("compile", new Class[]{String[].class, PrintWriter.class});
              catch(Throwable t)
                   //t.printStackTrace();
         public static void main(String[] args)throws Throwable
              System.out.println(compile(new File(args.length>0 ? args[0] : "Test.java")));
         public static String compile(File file)
              if(mainClass == null)
                   throw new RuntimeException("tools.jar cannot be found!");
              try
                   //invoke compile() method of Main.
                   StringWriter sw = new StringWriter();
                   PrintWriter pw = new PrintWriter(sw, true);
                   Object[] arguments = new Object[]{new String[]{"-g:none", file.getAbsolutePath()}, pw};
                   compileMethod.invoke(mainClass.newInstance(), arguments);
                   pw.close();
                   sw.close();
                   return sw.toString();
              catch(Throwable t)
                   return null;
    What I need is more files for possibleLocations. Using java.home may not work because if the application is running under JRE, java.home will return the location of the JRE installation dir and tools.jar is not included in the JRE.
    Best regards,
    CoolAsIce

  • Create installer without labview

    Hi,
    Is it possible to create an installer without LabVIEW? I am supporting Windows 2000 through 7 and the versions of NI software varies with each OS, specifically when dealing with oscilloscopes running Windows due to VISA conflicts.
    The two main problems I have with creating installers with LabVIEW (Application Builder):
    1) Windows 2000 requires the Product Framework before 2.8.0. This makes it impossible for installers to run on Windows 2000 that require product installation newer than 2.8.0 which is basically every installation for Windows 7.
    2) As far as I am aware, the required software has to be installed on a local machine first before creating an installer. Then you navigate to the Additional Installers section when creating an installer to add to the installation. The location path will point to the orignal CD drive or location it was installed from on the local drive. I don't see why this required. Why can the installer be created directly from the extracted files without it being installed on machine?
    Thanks
    Solved!
    Go to Solution.

    Wow guys, thanks for two blatent insults. If you don't have anything nice to say don't say it at all.
    A little further explaination:
    Supporting and maintaining Windows 2000 in 2014, I agree, is cumbersome. However, you have to realize these oscilloscopes that run Windows 2000 in 2014 still cost upwards of $8,000 to replace and the operating system cannot be upgraded. Why do they still cost so much? Because they are very useful tools. And new ones cost $20,000 to $30,000. I don't think that this effort is "los[ing] [the company's] ability to make a profit".
    For those of you that are interested in the orignal question posted here is my solution.
    I used SFX Builder (http://sourceforge.net/projects/s-zipsfxbuilder/) to bundle NI's software into a single executeable file. Heres the steps:
    1) Download all necessary NI software
    2) Download SFX Builder
    3) Download 7-zip (http://www.7-zip.org/)
    1) Extract all NI software into a single folder and use 7-zip to compress into a .7z archive
    2) Open SFX Builder and add the .7z archive to the File tab
    3) You can easily set the path of extraction to anywhere on the computer, the temp (%temp%) is the most useful
    4) On the Tasks tab click the add/plus button and select Run Program, then enter the path where the extraction happened, here is an example
    5) Easy peasy!

  • 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

Maybe you are looking for

  • GPU 0 Die Temp Sensor ERROR on a MacBook Pro. Can anybody help?

    Hello. My wife has a 15-inch, 2.4GHz MacBook Pro model 3.1 laptop. All of sudden the screen started to flicker, and after that,  it could no longer be booted. Applelogo visible but the timewheel stops and nothing happens. I managed to get hold of a c

  • FCS is only deleting my FCP project file and not linked assets. please help.

    When deleting a FCP project from FCS it does not give me the option to delete all linked media. It only deletes the FCP project file leaving me to delete all related media manually. In the user guide it says it should give me the option to delete the

  • Query performance concerning order by

    Hi The following query taks 0.2 seconds select * from messagerecipients order by messageid Also the following one takes same amount of time select * from messagerecipients order by groupid I want to order by both messageid and groupid so I try both t

  • After XP SP2 upgrade connot save settings

    Have setup many wireless routers (WRT546 style) without any Save Settings issues but 2 weeks back upgraded XP-Pro with Service Pack 2 and have not been able to setup anything since! Have disabled Virus Software (Norton Corporate Vaerion) and Firewall

  • Launch Indesign CS5 then Mac pinwheel appears as keeps spinning

    I have read through as many previous posts as possible hoping to find someone with the same problem I am having but no luck. So here is the problem. My Indesign CS5 launches but just after I try to open a new document or existing one, the Mac spinnin