Java

Moderators: zibadian
Number of threads: 7677
Number of posts: 18050

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

Report
Access windows registry using Java 2SE Posted by SatanHardCoder on 19 Oct 2006 at 2:49 AM
I am developing a standalone application installer in java. I need to add the application title of each application being installed with my installer to the Add/Remove programs in windows control panel.
Please help me by,
1). Providing the registry keys i have to manipulate to register an application with the windows OS
2). How to access windows registry? What all packages i require? if i have to download any external packages, where can i download them? If possible with a code example

My environment:
----------------
Compiler : Java(TM) 2 SDK, Standard Edition Version 1.4.0
Editor : Notepad
OS : Microsoft Windows XP Professional

I am new to Java, just in my learning process and this project(installer) is very important for me.Thanks in advance for any one who could help me.

Hazem K Mammu
hazemkmammu@gmail.com
Report
Re: Access windows registry using Java 2SE Posted by zibadian on 19 Oct 2006 at 4:26 AM
: I am developing a standalone application installer in java. I need to add the application title of each application being installed with my installer to the Add/Remove programs in windows control panel.
: Please help me by,
: 1). Providing the registry keys i have to manipulate to register an application with the windows OS
: 2). How to access windows registry? What all packages i require? if i have to download any external packages, where can i download them? If possible with a code example
:
: My environment:
: ----------------
: Compiler : Java(TM) 2 SDK, Standard Edition Version 1.4.0
: Editor : Notepad
: OS : Microsoft Windows XP Professional
:
: I am new to Java, just in my learning process and this project(installer) is very important for me.Thanks in advance for any one who could help me.
:
: Hazem K Mammu
: hazemkmammu@gmail.com
:
1: One of these keys hold all the installed programs:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Management\ARPCache
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
For more info see the msdn or look at the previously installed programs.

2: See this site for tutorials/example codes/source codes: http://www.google.nl/search?q=windows+registry+java
Report
Thanks Posted by SatanHardCoder on 19 Oct 2006 at 6:33 PM
: : I am developing a standalone application installer in java. I need to add the application title of each application being installed with my installer to the Add/Remove programs in windows control panel.
: : Please help me by,
: : 1). Providing the registry keys i have to manipulate to register an application with the windows OS
: : 2). How to access windows registry? What all packages i require? if i have to download any external packages, where can i download them? If possible with a code example
: :
: : My environment:
: : ----------------
: : Compiler : Java(TM) 2 SDK, Standard Edition Version 1.4.0
: : Editor : Notepad
: : OS : Microsoft Windows XP Professional
: :
: : I am new to Java, just in my learning process and this project(installer) is very important for me.Thanks in advance for any one who could help me.
: :
: : Hazem K Mammu
: : hazemkmammu@gmail.com
: :
: 1: One of these keys hold all the installed programs:
: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Management\ARPCache
: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
: For more info see the msdn or look at the previously installed programs.
:
: 2: See this site for tutorials/example codes/source codes: http://www.google.nl/search?q=windows+registry+java
:
Thanks, for the first time i got a response for my problem. I would need your help again. Thanks a lot anyway !
Report
Re: Access windows registry using Java 2SE Posted by Eric33 on 15 Apr 2010 at 3:51 PM
You can use utility from caerustech to edit windows registry from Java - its really easy to use. You can get it from www.caerustech.com/JRegistry.php

Eric



 

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.