Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Updating windows registry variables using Java program  RSS feed

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to modify windows registry variable from java program???
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think that it's typically allowed. It's my understanding that the Preferences API introduced with Java 1.4 does use the registry to set user preferences, but that's not something that should concern the Java programmer (the Java programmer just cares that the preferences are remembered and that she/he has a way to retrieve them when appropriate).
Why are you wanting to edit registry settings?
 
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JNI...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!