473,397 Members | 1,985 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Access registry using Java

hi
I want to access registry using java, I want to find list of hardware or software installed in my PC using java programe. How can i do this?
If any one know ?
Please help me.

Regards
Mazhar
Aug 30 '06 #1
5 5614
Lukman
8
u can use Java Native Interface to achieve this...JNI

Lukman
Aug 31 '06 #2
JosAH
11,448 Expert 8TB
Note that this 'registry' is purely a Microsoft Windows thing. Java is neutral w.r.t. to its target platform, i.e. it doesn't know anything about operating system specific stuff and any Java stuff that handles these things is (by definition) platform specific, i.e. it won't run on Unixes (Linux) or anything else but Windows. Java is not the ideal solution for this.

kind regards,

Jos
Jul 28 '09 #4
@JosAH
Thats right ..But its just a insight if in some case we need to access:)
Jul 29 '09 #5
JosAH
11,448 Expert 8TB
@shamrocksu88
Then I'd say: pick another language that is more suitable to the task. One aspect of the strenghts of Java is it's platform independence; don't use it for platform dependent thingies; there are other languages for that. The trouble is that people think that a computer is a Microsoft Windows PC which is simply not true.

kind regards,

Jos
Jul 29 '09 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Mark A | last post by:
Here is the description of a new feature in 8.2.2 (FP9) from the InfoCenter: "DB2_SKIPINSERTED registry variable You can use the DB2_SKIPINSERTED registry variable to skip uncommitted inserted...
7
by: dog | last post by:
I've seen plenty of articles on this topic but none of them have been able to solve my problem. I am working with an Access 97 database on an NT4.0 machine, which has many Access reports. I...
11
by: Grasshopper | last post by:
Hi, I am automating Access reports to PDF using PDF Writer 6.0. I've created a DTS package to run the reports and schedule a job to run this DTS package. If I PC Anywhere into the server on...
2
by: Sledge | last post by:
We have developed an accounting application both in windows and web. Application calls the function in Dll that inturns access the registry keys. using the value of the registry key it connects to...
3
by: bfprog | last post by:
Using IBM iSeries client access OLEDB provider to connect to DB2 on AS/400, but cannot create connection using .NET web app. Using following code: Dim cnTest As New...
0
by: bazzer | last post by:
hey, im trying to access a microsoft access database from an ASP.NET web application in visual basic 2003.NET. i get the following error when i try running it: Server Error in...
1
by: david epsom dot com dot au | last post by:
http://msdn.microsoft.com/msdnmag/issues/05/04/RegFreeCOM/default.aspx Simplify App Deployment with ClickOnce and Registration-Free COM When you set app = createobject("Access.application.11")...
8
by: ajos | last post by:
hi frnds, im trying to convert my servlets database configuration from ms access to mysql database.however im getting some error like no driver found exception. to verify this error ive...
6
by: sd | last post by:
hello I need to keep my app entry under HKEY_LOCAL_MACHINE\Software\MyApp. (to support for all users).I need to update one key under MYApp. When I attempt to set value for this key...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.