How to find out if JRE is installed on a Win32 system?
Hi,
does anyone know a good and reliable way to find out if JRE is installed on a Windows system? I want to start a JAR file but don't want to appear the "select program to start with"-chooser box when there's no JRE. Most unexperienced users give up at this point and delete my application. I'd rather let a popup-message appear that says something like "You need Java - download it here for free ...<link>".
Maybe a script file? Or a small C++ program that only checks if Java is installed and then starts the application (or gives out the popup). And how to check for an existing JRE?
I know about Webstart but have no server at hand...
Thanks!!!
Try JSmooth ( http://jsmooth.sourceforge.net/ ). It's a Java executable wrapper.
From the website:
When the user clicks on the .exe, the windows application search the most suitable JVM installed on the computer to launch the java application. If no JVM is found, a dialog box is displayed to the users and they may be redirected to a web site (to www.java.com for example).
Even if you don't use it as it is you can learn from it, because JSmooth is Open Source.
Similar Messages
-
How To Find out Which Adapters Are Installed
Hi Experts,
We Installed SAP PI 7.0 Just Now .
How To Find out Which Adapters are Installed ????
Please Help me in this....
Regards
Khanna<i>And the Other thing is Some Adapters Are in the Green Color And Some Are in the Grey Color. Is there Any Difference Between these ??????</i>
CCMS status:
Green: Working
Grey: <i>Status Unknown</i>
Red: Problem with the component
ref:
http://help.sap.com/saphelp_nw04s/helpdata/en/9b/f12541c3d3f323e10000000a155106/content.htm
Regards
krishna
Message was edited by:
Krishnamoorthy Ramakrishnan -
How to find out where sap error messages stored in our system
How to find out where sap error messages stored in our system.like sometime we will get a error message with message number.whr it will be stored and whch table it is?
Are you interested in WDA messages ?
The set a breakpoint in METHODS IN class CL_WDR_MESSAGE_MANAGER.
Then use call stack (default desktop 2 in debugger) to see where message is added to message manager.
regards
phil -
How to find all the jre's installed on desktop
I have installed JRE131, 142, 150 on my destop. How do I find out all these JRE versions using a Java Program or JavaScript?
Thanks in advanceLet me explain my question again.
We have "java applications" written to run with JRE 1.3.1, 1.4.2 and 1.5 (default JRE - higher version) etc, we are trying to access these applications using java web start. As we know that Java web start has an in-built capability to find required JRE installed on the remote PC(Using Native library). If the required JRE is not installed on remote PC, then the JNLP will make call to java.sun.com/autodl to download 1.2 version of JRE which we don't want that to happen(bcos of internal policy), rather we would like to determine whether or not this JRE is already exist on the remote client from the browser where the below JNLP is called to invoke the application. I do know that we dont have direct ability to check the JRE existence except default JRE(ie higher version among installed JREs, In here JRE 1.5 as mentioned above) using java/javascript. Take a look at the below applet code which would return only current jre version as if 1.3.1 and 1.4.2 are not installed although they exist. What I'm trying to do now is to populate a message on the IE browser itself to remote user saying that this 1.2 JRE is not installed, so please install it before calling below JNLP. So, How do I find out all the JREs installed on PC not just default JRE? I hope the question now is clear
Thanks thanks....
<?xml version="1.0" encoding="UTF-8"?>
<!-- file Hello.jnlp -->
<jnlp codebase="http://staff.develop.com/halloway/TechTips/May2001"
href="http://staff.develop.com/halloway/TechTips/May2001/Hello.jnlp">
<information>
<title>Hello</title>
<vendor>Tech Tips Sample May 2001</vendor>
<icon href="HelloJNLP.jpg"/>
</information>
<resources>
<j2se version="1.3"/>
<jar href="HelloJNLP.jar"/> --- This is the Java Application and will run on remote client using java web start
</resources>
<application-desc main-class="HelloJNLP"/>
</jnlp>
import java.applet.Applet;
import java.awt.Label;
public class Detect extends Applet
public Detect()
public void init()
add(new Label("Detection of the Java Plugin"));
public String getJavaVersion()
return System.getProperty("java.version");
//return System.getProperty("java.specification.version");
} -
How to find out if Oracle is Installed in server
I apologize for the simple question but no one in here seems to know if our server has Oracle installed or not. I have no experience in Oracle and have root access to the server but dont know the command to check wether Oracle is installed or not! anyone?
I thank you in advance for any help
EduardoThis is one of those questions that can be a bit difficult to answer, given all the possibilities in the world. Since you said the magic word "root" I will assume you are on unix or at least a posix system.
http://tahiti.oracle.com has installation guides, find the one for your platform and check that. It should give a good foundation of what you want to look for. But some people get creative and some things are decisions by the DBA.
Since oracle may be installed and not running, looking for oracle processes may not tell you if oracle is installed. But a ps|grep ora can often give clues. It is even possible to delete files while oracle is running... (I've seen oracle uninstalled - it keeps running but new users can't log in. This is because rm a file doesn't actually remove a file until everyone is done with it.) Also, check ipcs - shared memory being used by oracle is a clue oracle is installed and/or running, but even that can be misleading with some configurations - sometimes a bungled startup will leave a mess.
Many unix systems have clues in /etc or /var/opt. Look for files with names like oratab and oraenv. Look at your passwd and group files, see if there are users with names like 'oracle' and groups like 'dba'. Look at user .profile, .cshrc, .bashrc, .kshrc files and see if there are references to oracle environment setting. $ORACLE_BASE, $ORACLE_HOME, $ORACLE_SID are often good clues, as well as references to oraenv or similar names. Look at the system startup files and see if there are references to oracle: there could be things like /sbin/rc*/*ora*, /etc/rc.d/*/*ora*, and so forth. Often the rc directories have a link to an init directory, such as a file like /sbin/init.d/oracle. There may be an inventory around somewhere called oraInventory, perhaps under $ORACLE_BASE, and installation log files, check your install guide for names. Also, if you have found $ORACLE_HOME and $ORACLE_SID in an oratab, you might check $ORACLE_BASE/admin/$ORACLE_SID/bdump/alert*log. Be aware that $ORACLE_HOME and the "oracle home directory" probably are not the same.
Older systems that have been clumsily dealt with may have all these things, and yet still not have "oracle installed." Good luck.
For these reasons and more, usually you would want to specify exact platform and oracle versions.
Edit: fixed alert log location -
How to find out whether ipv6 is installed or not
Hello.
I need to determine (in Java 1.5) whether ipv6 is installed on a system (Windows) or not. Any ideas how could I do that? Is it possible at all?
Thanks in advance.Yes, right.
I have a client/server application and there is a "properties" files where user can specify many options including connection related. And there is an editor that allows to change that "properties" file thru GUI (and there may be no connection with the server at this point). Currently, speaking of connection related options, user is represented with 2 options (ipv4 and ipv6) from which he/she can choose no matter whether ipv6 is installed or not. I need to disable (or remove) ipv6 option if there is no ipv6 installed on a system.
Using server-socket-approch will, probably, do, but may be there is some other way to do this?
And thanks a lot for your answer.
Edited by: serge.kv on Jan 28, 2010 7:51 AM -
How to find out which browsers are installed on OS?
Hi everyone,
I've been reading through the AIR doc, but it doesn't seem
like an AIR application can read OS information like what browsers
are currently installed. Further, at run time, is there a way to
tell which browsers are currently running?
Best regards,
wtI built a small example as a starting point to detect
installed applications on a Mac.
Should be easy to change it for XP/Linux.
AFAIK there is no way to get the list of running applications
from Air.
<mx:WindowedApplication xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="vertical">
<mx:Script>
<![CDATA[
private function checkBrowser():void {
// change this according to the OS
var file:File =
File.documentsDirectory.resolvePath("/Applications");
res.text = "false";
for each (var o:Object in file.getDirectoryListing()) {
var name:String = o.nativePath;
if (name.search(browserName.text) != -1) {
res.text = "true";
res.visible = true;
]]>
</mx:Script>
<mx:Button label="test" click="checkBrowser()"/>
<mx:TextArea id="browserName" text="Safari"/>
<mx:Text text="Does this machine have {browserName.text}
installed?"/>
<mx:Text id="res" visible="false"/>
</mx:WindowedApplication> -
How to find out what products are installed 10G
I have been getting questions lately "Is OLAP installed, locator... " in 10G, normally
there are tables sys tables that tell generally whats installed but not specifically. Then
in the 11G enterprise manager I saw the database configuration pack that comes
with enterprise manager that really defines -> whats installed, the patch level -> basically
everything... So my question is are there any system tables, stored procedures, or packages that
would give me this information in 10G without having to install the database configuration
pack into a 10G enterprise manager.
thanksYou can query dba_registry for this information.
SQL> col comp_name format a40
SQL> select comp_name, version, status from dba_registry;
COMP_NAME VERSION STATUS
Oracle Database Catalog Views 10.2.0.4.0 VALID
Oracle Database Packages and Types 10.2.0.4.0 VALID
Oracle Workspace Manager 10.2.0.4.3 VALID
JServer JAVA Virtual Machine 10.2.0.4.0 VALID
Oracle XDK 10.2.0.4.0 VALID
Oracle Database Java Packages 10.2.0.4.0 VALID
Oracle Expression Filter 10.2.0.4.0 VALID
Oracle Data Mining 10.2.0.4.0 VALID
Oracle Text 10.2.0.4.0 VALID
Oracle XML Database 10.2.0.4.0 VALID
Oracle Rules Manager 10.2.0.4.0 VALID
Oracle interMedia 10.2.0.4.0 VALID
OLAP Analytic Workspace 10.2.0.4.0 VALID
Oracle OLAP API 10.2.0.4.0 VALID
OLAP Catalog 10.2.0.4.0 VALID
Spatial 10.2.0.4.0 VALID
Oracle Enterprise Manager 10.2.0.4.0 VALID
17 rows selected. -
How to find out where sap error messages stored...
How to find out where sap error messages stored in our system.like sometime we will get a error message with message number.whr it will be stored and whch table it is?
Hi,
I also got the same message when that message no is not there
E:SABAPDOCU:000 test
yours is S-type and message id ZY and message no 127
127 is not there either change the no or create the same
Regards
Shiva -
How do I find out wich jre an already installed iWS6SP2 installation uses?
Our systems (sun netras with Solaris8) have several java runtimes installed.
JDK 1.3.1 resides in /usr/j2se
JDK 1.2.2 resides in /usr/java1.2
/usr/java is a link to /usr/java1.2
When I installed iWS 6.0SP1 I had the install skip the java runtime installation, and instead specified /usr/j2se as the location of the runtime to use.
Checking <serverroot>/https-admserv/start-jvm it contains
NSES_JDK=/usr/j2se; export NSES_JDK
In <serverroot>/<instanceroot>/config for each of my server instances exists a jvm12.conf file. This file contains a commented out line:
#jvm.option=-Xbootclasspath:/usr/j2se/lib/tools.jar:/usr/j2se/jre/lib/rt.jar
What is the purpose of this line?
Also several of the server instances have classpaths defined in their jvm12.conf that refer to /usr/java1.2, not /usr/j2se.
My questions:
- How do I find out what jre is effectively used by my webserver?
- How does this effect the stability of my webservers. I have problems with hangs, and am unable to shutdown the server using the admin interface.Hi,
1.How do I find out what jre is effectively used by my webserver?
You can find out which version of "jre" has been used
by checking /<server root>/https-admserv/start-jvm
file.
http://knowledgebase.iplanet.com/ikb/kb/articles/7356.html
I would recommend you to test with JDK version 1.2.2_010.
2."I have problems with hangs, and am unable to shutdown the server using the admin interface."
Please let me know your error log and access log at the time of server hangs.
Thanks,
Dakshin.
Developer Technical Support
Sun Microsystems
http://www.sun.com/developers/support. -
How to find out jre version installed ,using a java program?
Hello,
Is there any way to find out the installed JRE version using a java program ?
The requirement is as follows:
There is a html page with 4 steps to install a software. each step is a link, which upon clicking does its work.
the first step is to install jre 1.4.2_11 if its not installed in the system. But how can i find out whether jre 1.4.2_11 is installed or not ?
Thanks in advanceFor the hell of it... here is a list of properties you can query:
java.version Java Runtime Environment version
java.vendor Java Runtime Environment vendor
java.vendor.url Java vendor URL
java.home Java installation directory
java.vm.specification.version Java Virtual Machine specification version
java.vm.specification.vendor Java Virtual Machine specification vendor
java.vm.specification.name Java Virtual Machine specification name
java.vm.version Java Virtual Machine implementation version
java.vm.vendor Java Virtual Machine implementation vendor
java.vm.name Java Virtual Machine implementation name
java.specification.version Java Runtime Environment specification version
java.specification.vendor Java Runtime Environment specification vendor
java.specification.name Java Runtime Environment specification name
java.class.version Java class format version number
java.class.path Java class path
java.library.path List of paths to search when loading libraries
java.io.tmpdir Default temp file path
java.compiler Name of JIT compiler to use
java.ext.dirs Path of extension directory or directories
os.name Operating system name
os.arch Operating system architecture
os.version Operating system version
file.separator File separator ("/" on UNIX)
path.separator Path separator (":" on UNIX)
line.separator Line separator ("\n" on UNIX)
user.name User's account name
user.home User's home directory
user.dir User's current working directory -
How to find out if I am using a 32 bits or 64 bits version of JRE?
How to find out if I am using a 32 bits or 64 bits version of JRE?
If I have 2 instances of Java installed in 2 seperate directories, one 32 bits and other 64 bits on Linux. How do I identify which directory holds which version?
Is there any command that can output this info?
Regards,
BillamamaWith a Sun JDK or JRE, you can use java -version:
$ java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Server VM (build 1.6.0-b105, mixed mode)
... switch to the 64-bit JDK ...
$ java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0-b105, mixed mode)
The last line says "64-Bit." -
How to find out if JDK installed on solaris 10
I just installed Solaris 10. How do I find out if Java JDK installed on the system? I typed in java -version and only the JRE was displayed but I want the JDK. Thanks
# pkginfo | grep -i java
You can download the latest jdk at http://java.sun.com/ -
My computer states that I have multiple versions of outlook installed and that i cannot use icloud. How d if find out which versions are installed and which ne to delete without interrupting the other?
That's a Windows/Office problem. You should ask in the Microsoft support forums.
-
How to find out the versions of family pack and mini pack installed?
There are family pack and mini pack for HRMS.
How to find out the versions of family pack and mini pack installed
just by a Unix command or sqlplus Select statement?
Thanksyou can get the Minipack version of the products by querying fnd_product_installations or ad_patchdriver_minipks, for family packs you need to query through Metalink, OR if you have u driver file which resides on $AY_TOP/discoverer, looks for the minipacks/familypack version in the driver file.
Maybe you are looking for
-
Please help me rent a movie. The time loading is 2-3 hours!!! I have changed resolution to 720 HD and also Standard and the loading time stays the same. Help!!!
-
Hi, I creating a marketing document and choose the currency to BP Currency. And then i save document as draft. when i open the document draft, the currency is change to local currency. can anyone explain to me why it is happen? i am using SBO version
-
My Iphone 3GS synchro constantly blocks on one of my title. I suppressed it from my computer and it now works fine. But how can I dowload it again from the Itune Store (for info, I bought Born Vilain from M Manson, and the title is Breaking the same
-
Hello, I have installed the Mini SAP with WAS 6.20 in my system, which has Windows XP. I was sucessfull in installing the Kernel CD and SAP GUI. So now the SAP logon icon appears on my desktop and i want to login. I have given the following details o
-
How can I return back? If I press the button the program says nothing. And I cann't go back. Thanks! TABLES sscrfields. SELECTION-SCREEN PUSHBUTTON /10(20) btn1 USER-COMMAND bnt1. INITIALIZATION. MOVE 'Here!!! TO btn1. AT SELECTION-SCREEN. IF ssc