Facing problems with java.awt.Desktop in 64 bit JVM? -


i'm trying use java.awt.desktop class in application solaris amd64 machine. find desktop class not supported in 64bit jvms.

public class tester {     public static void main(string args[]) {         system.out.println(desktop.isdesktopsupported());     } } 

-

% java -d32 tester  desktop supported : true  % java -d64 tester  desktop supported : false 

am missing here? many in advance!


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -