On my Win7 host, which has Java, there's not 
HKEY_LOCAL_MACHINE/SOFTWARE/JavaSoft.
-- David

On 10-Mar-2014 3:04 PM, Jacob Klein wrote:
Rom: Not everyone has the JDK installed.

Below is my registry export for the "JavaSoft" key. I have both the 64-bit Java
JRE, and the 32-bit Java JRE, installed, here on my Windows 8.1 x64 machine.

There's some version info in "Java RunTime Environment", but also version info 
in
"\Java Runtime Environment\1.7.0_51\MSI" Hope this somehow helps.



============== Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft] "RegDeployStatus"="0"

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in]

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in\10.51.2]
"JavaHome"="C:\\Program Files\\Java\\jre7" "UseJava2IExplorer"=dword:00000001
"UseNewJavaPlugin"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment]
"Java7FamilyVersion"="1.7.0_51" "CurrentVersion"="1.7"
"BrowserJavaVersion"="10.51.2"

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.7]
"JavaHome"="C:\\Program Files\\Java\\jre7" "RuntimeLib"="C:\\Program
Files\\Java\\jre7\\bin\\client\\jvm.dll" "MicroVersion"="0"

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.7.0_51]
"JavaHome"="C:\\Program Files\\Java\\jre7" "MicroVersion"="0"
"RuntimeLib"="C:\\Program Files\\Java\\jre7\\bin\\client\\jvm.dll"

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.7.0_51\MSI]
"JU"="1" "OEMUPDATE"="" "MODE"="C" "JQS"="" "FROMVERSION"="NA"
"FROMVERSIONFULL"="" "PRODUCTVERSION"="7.0.510" "INSTALLDIR"="C:\\Program
Files\\Java\\jre7\\" "PATCHDIR"="" "WEB_JAVA_SECURITY_LEVEL"="" "WEB_JAVA"=""
"EULA"="0" "IEXPLORER"="1" "MOZILLA"="0" "JAVAUPDATE"="1" "AUTOUPDATECHECK"="1"
"AUTOUPDATEDELAY"="" "ImageCkSum"="154520100" "FullVersion"="1.7.0_51-b13"

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start] "CurrentVersion"="10.51.2"

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.0.1] "Home"="C:\\Program
Files\\Java\\jre7\\bin"

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.0.1_02]
"Home"="C:\\Program Files\\Java\\jre7\\bin"

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.0.1_03]
"Home"="C:\\Program Files\\Java\\jre7\\bin"

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.0.1_04]
"Home"="C:\\Program Files\\Java\\jre7\\bin"

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.2] "Home"="C:\\Program
Files\\Java\\jre7\\bin"

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.2.0_01]
"Home"="C:\\Program Files\\Java\\jre7\\bin"

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\10.51.2] 
"Home"="C:\\Program
Files\\Java\\jre7\\bin" =================

Date: Mon, 10 Mar 2014 17:59:03 -0400 From: [email protected] To:
[email protected] CC: [email protected] Subject: Re:
[boinc_projects] Java App for Apple and Linux

Eric,



Do you have a similar entry?



[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.7]

"JavaHome"="C:\\Program Files\\Java\\jdk1.7.0_51"

"MicroVersion"="0"



----- Rom



From: [email protected] [mailto:[email protected]] On Behalf Of Eric J Korpela
Sent: Monday, March 10, 2014 5:47 PM To: Rom Walton Cc: David Anderson;
Boinc_projects List Subject: Re: [boinc_projects] Java App for Apple and Linux



I'm not sure that windows would ensure it's in the path. cmd.exe doesn't find
it on my machine.  There's probably a Registry key that contains the path to
the executable...

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\jarfile\shell\open\command does,
but I have no way of knowing whether it's universal.

FYI, we want "-version" not "--version".  "--version" gives an error, I think.

A bigger issue is that nobody has yet written the java half of the BOINC API
(that I know of).





On Mon, Mar 10, 2014 at 12:00 PM, Rom Walton <[email protected]> wrote:

It should be the same. java.exe and/or javaw.exe should accept the --version
option.


----- Rom

-----Original Message----- From: boinc_projects
[mailto:[email protected]] On

Behalf Of David Anderson Sent: Monday, March 10, 2014 2:58 PM To:
[email protected] Subject: Re: [boinc_projects] Java App for
Apple and Linux

Sure, we should add JVM detection to the client. Then we can use the plan class
mechanism to make sure the client has the required version of Java.

On Unix this seems to be easy: run java --version. On Windows I'm not sure how
to do it; does anyone know?

-- David

On 10-Mar-2014 11:28 AM, Eric J Korpela wrote:
Java apps can be supported anywhere as stand alone apps by using a
wrapper.

But I have been planning to add JVM detection to the core client on unix for
some time.  It's one of those things I never get around to doing, though.
_______________________________________________ boinc_projects mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_projects To unsubscribe,
visit the above URL and (near bottom of page) enter your email address.
_______________________________________________ boinc_projects mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_projects To unsubscribe,
visit the above URL and (near bottom of page) enter your email address.



_______________________________________________ boinc_projects mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_projects To unsubscribe,
visit the above URL and (near bottom of page) enter your email address.
 _______________________________________________ boinc_projects mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_projects To unsubscribe,
visit the above URL and (near bottom of page) enter your email address.

_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to