jRegistryKey HELP

I need Help this class..

import ca.beq.util.win32.registry.*;

publicclass RegistryKey{

publicstaticvoid main(String args[]){

try{

RegistryKey rk =new RegistryKey(RootKey.HKEY_CURRENT_USER,"Software\\newCreatekey");

}catch(RegistryException re){

re.printStackTrace();}

}

}

im, tryed this , but not working

symbol : constructor RegistryKey(ca.beq.util.win32.registry.RootKey,java.lang.String)

location:class hack.RegistryKey

RegistryKey rk =new RegistryKey(RootKey.HKEY_CURRENT_USER,"Software\\newCreatekey");

1 error

who can help-me and , what i do with jRegistryKey.dll ?

Sorry my bad english

ty !

Message was edited by:

diegoloko

[1382 byte] By [bronze-starDukes] at [2007-11-26 12:12:27]
# 1

symbol : constructor RegistryKey(ca.beq.util.win32.registry.RootKey,java.lang.String)

location: class hack.RegistryKey

RegistryKey rk = new RegistryKey(RootKey.HKEY_CURRENT_USER, "Software\\newCreatekey");

1 error

You gave us the location of the error, but not what the actual error was. Always include the description of the error.

In this case, you are calling the constructor that takes a RootKey and a String, but you haven't defined it.

silverstar at 2007-7-7 14:12:23 > top of Java-index,Archived Forums,Socket Programming...
# 2
Is RegistryKey a class in the ca.beq.util.win32.registry package?If so, and you are trying to instantiate an object of that class, then why did you name your own class by the same name? You're confusing the compiler.
platinumsta at 2007-7-7 14:12:23 > top of Java-index,Archived Forums,Socket Programming...