java.lang.UnsatisfiedLinkError: preInit on using gkeytool

2009-06-11 Thread alk.shr

I am getting below exception at the time of using gkeytool  for generating
key pair/certificate-
Exception in thread main java.lang.UnsatisfiedLinkError: preInit
at gnu.classpath.VMSystemProperties.preInit(Native Method)
at gnu.classpath.SystemProperties.clinit(SystemProperties.java:69)
at
gnu.classpath.tools.keytool.Command.setKeystoreURLParam(Command.java:570)
at
gnu.classpath.tools.keytool.Command.setKeyStoreParams(Command.java:419)
at
gnu.classpath.tools.keytool.Command.setKeyStoreParams(Command.java:395)
at gnu.classpath.tools.keytool.ListCmd.setup(ListCmd.java:178)
at gnu.classpath.tools.keytool.Command.doCommand(Command.java:205)
at gnu.classpath.tools.keytool.Main.start(Main.java:238)
at gnu.classpath.tools.keytool.Main.main(Main.java:144)

It seems that some shared library file is missing or not generated during
GNU classpath build. can anyone tell me in which .so file this native api
preInit will be present and how to generate it ?
-- 
View this message in context: 
http://www.nabble.com/java.lang.UnsatisfiedLinkError%3A-preInit-on-using-gkeytool-tp23979052p23979052.html
Sent from the Gnu - Classpath - General mailing list archive at Nabble.com.




Re: java.lang.UnsatisfiedLinkError: preInit on using gkeytool

2009-06-11 Thread Andrew Haley
alk.shr wrote:
 I am getting below exception at the time of using gkeytool  for generating
 key pair/certificate-
 Exception in thread main java.lang.UnsatisfiedLinkError: preInit
 at gnu.classpath.VMSystemProperties.preInit(Native Method)
 at gnu.classpath.SystemProperties.clinit(SystemProperties.java:69)
 at
 gnu.classpath.tools.keytool.Command.setKeystoreURLParam(Command.java:570)
 at
 gnu.classpath.tools.keytool.Command.setKeyStoreParams(Command.java:419)
 at
 gnu.classpath.tools.keytool.Command.setKeyStoreParams(Command.java:395)
 at gnu.classpath.tools.keytool.ListCmd.setup(ListCmd.java:178)
 at gnu.classpath.tools.keytool.Command.doCommand(Command.java:205)
 at gnu.classpath.tools.keytool.Main.start(Main.java:238)
 at gnu.classpath.tools.keytool.Main.main(Main.java:144)
 
 It seems that some shared library file is missing or not generated during
 GNU classpath build. can anyone tell me in which .so file this native api
 preInit will be present and how to generate it ?

We need to know what VM and which build you're using.

Andrew.