Delphi and Kylix

Moderators: pritaeas
Number of threads: 7264
Number of posts: 19073

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
check installed java... Posted by aqui on 10 Jan 2007 at 8:32 PM
hi i need help. how can i check all installed java environment in my pc using delphi 5. i need to list all java environment installed.
Report
Re: check installed java... Posted by zibadian on 10 Jan 2007 at 8:38 PM
: hi i need help. how can i check all installed java environment in my pc using delphi 5. i need to list all java environment installed.
:
Check if the following key exists in the registry: HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft
Inside that key are subkeys giving the details about the Java RLE, SDK, and plug-in versions.
Report
Re: check installed java... Posted by aqui on 10 Jan 2007 at 9:35 PM
: : hi i need help. how can i check all installed java environment in my pc using delphi 5. i need to list all java environment installed.
: :
: Check if the following key exists in the registry: HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft
: Inside that key are subkeys giving the details about the Java RLE, SDK, and plug-in versions.
:
yup thats wat i did.. but how can i list all the java environments? i can read from the subkeys but how can i get the subkeys itself... gets?? i'm having a hard time explaining... right now wat i did was to get all the versions of java and check if it is existing in HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft... tnx. :)
Report
Re: check installed java... Posted by zibadian on 10 Jan 2007 at 11:03 PM
: : : hi i need help. how can i check all installed java environment in my pc using delphi 5. i need to list all java environment installed.
: : :
: : Check if the following key exists in the registry: HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft
: : Inside that key are subkeys giving the details about the Java RLE, SDK, and plug-in versions.
: :
: yup thats wat i did.. but how can i list all the java environments? i can read from the subkeys but how can i get the subkeys itself... gets?? i'm having a hard time explaining... right now wat i did was to get all the versions of java and check if it is existing in HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft... tnx. :)
:
You can get the keys names by using the TRegistry.GetKeyNames() method.
Report
Re: check installed java... Posted by aqui on 10 Jan 2007 at 11:05 PM
: : : : hi i need help. how can i check all installed java environment in my pc using delphi 5. i need to list all java environment installed.
: : : :
: : : Check if the following key exists in the registry: HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft
: : : Inside that key are subkeys giving the details about the Java RLE, SDK, and plug-in versions.
: : :
: : yup thats wat i did.. but how can i list all the java environments? i can read from the subkeys but how can i get the subkeys itself... gets?? i'm having a hard time explaining... right now wat i did was to get all the versions of java and check if it is existing in HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft... tnx. :)
: :
: You can get the keys names by using the TRegistry.GetKeyNames() method.
:


tnx so much!! :)



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.