M
Marcelo
Dear programmers,
I am having some trouble in order to determine the OS used by the JVM. I would
like to load some libraries but i don't know the system that is running it.
I would like to do something like:
static{
if(Linux)
System.loadLibrary("libHello.so");
if(Windows)
System.loadLibrary("Hello.dll");
}
Can you help me, please?
thanks a lot,
Marcelo
I am having some trouble in order to determine the OS used by the JVM. I would
like to load some libraries but i don't know the system that is running it.
I would like to do something like:
static{
if(Linux)
System.loadLibrary("libHello.so");
if(Windows)
System.loadLibrary("Hello.dll");
}
Can you help me, please?
thanks a lot,
Marcelo