K
Krystian
Hi,
i have compiled java application on HP-UX with native C library, but i
can't run
it!
Each time i get:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no uxinfo in
java.lib
rary.path
uxinfo is the name of my C library.
I can't get it to work!
I use:
java -Djava.library.path=. test
/test is the name of my test application which uses the library/
I've tried renaming the library from uxinfo.sl to uxinfo but still no
luck.
When i check the java.library.path with a small application:
public class GetProperty {
public static void main(String[] args) {
System.out.println(System.getProperty(args[0]));
System.exit(0);
}
}
i can see '.' amongst other directories...
Help, anyone?
Best regards,
Krystian
i have compiled java application on HP-UX with native C library, but i
can't run
it!
Each time i get:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no uxinfo in
java.lib
rary.path
uxinfo is the name of my C library.
I can't get it to work!
I use:
java -Djava.library.path=. test
/test is the name of my test application which uses the library/
I've tried renaming the library from uxinfo.sl to uxinfo but still no
luck.
When i check the java.library.path with a small application:
public class GetProperty {
public static void main(String[] args) {
System.out.println(System.getProperty(args[0]));
System.exit(0);
}
}
i can see '.' amongst other directories...
Help, anyone?
Best regards,
Krystian