Cannot access java on Win10 with LW7.1
Hi all, Encountered a strange problem. On a fresh installation of Win10 and JRE from Oracle site I cannot startup the JVM from LW, while I can call "java.exe" successfully: CL-USER 1 > (require "java-interface") ; Loading fasl file C:\Program Files (x86)\LispWorks\lib\7-1-0-0\load-on-demand\concat\java-interface.ofasl ; Loading C:\Program Files (x86)\LispWorks\lib\7-1-0-0\load-on-demand\processes\java-sockets.ofasl on demand... ; Loading fasl file C:\Program Files (x86)\LispWorks\lib\7-1-0-0\patches\java-interface\0001\0001.ofasl ; Loaded public patch java-interface 1.1 ; Loading fasl file C:\Program Files (x86)\LispWorks\lib\7-1-0-0\patches\java-interface\0001\0002.ofasl ; Loaded public patch java-interface 1.2 ; Loading fasl file C:\Program Files (x86)\LispWorks\lib\7-1-0-0\patches\java-interface\0001\0003.ofasl ; Loaded public patch java-interface 1.3 ; Loading fasl file C:\Program Files (x86)\LispWorks\lib\7-1-0-0\patches\java-interface\0001\0004.ofasl ; Loaded public patch java-interface 1.4 ; Loading fasl file C:\Program Files (x86)\LispWorks\lib\7-1-0-0\patches\java-interface\0001\0005.ofasl ; Loaded public patch java-interface 1.5 ; Loading fasl file C:\Program Files (x86)\LispWorks\lib\7-1-0-0\patches\java-interface\0001\0006.ofasl ; Loaded public patch java-interface 1.6 t CL-USER 2 > (lw-ji:get-host-java-virtual-machine) nil CL-USER 3 > (lw-ji:get-java-virtual-machine) nil CL-USER 4 > (lw-ji:call-java-method "System.out.format" 10) Error: trying to get the Java VM, but it is not initialized 1 (abort) Return to top loop level 0. Type :b for backtrace or :c <option number> to proceed. Type :bug-form "<subject>" for a bug report template or :? for other options. CL-USER 5 : 1 > CL-USER 6 > (system:call-system-showing-output "java.exe") ; java.exe ; Usage: java [-options] class [args...] ; (to execute a class) ; or java [-options] -jar jarfile [args...] ; (to execute a jar file) ; where options include: ; -d32 use a 32-bit data model if available ; -d64 use a 64-bit data model if available ; -client to select the "client" VM ; -server to select the "server" VM ; The default VM is client. ; ; -cp <class search path of directories and zip/jar files> ; -classpath <class search path of directories and zip/jar files> ; A ; separated list of directories, JAR archives, ; and ZIP archives to search for class files. ; -D<name>=<value> ; set a system property ; -verbose:[class|gc|jni] ; enable verbose output ; -version print product version and exit ; -version:<value> ; Warning: this feature is deprecated and will be removed ; in a future release. ; require the specified version to run ; -showversion print product version and continue ; -jre-restrict-search | -no-jre-restrict-search ; Warning: this feature is deprecated and will be removed ; in a future release. ; include/exclude user private JREs in the version search ; -? -help print this help message ; -X print help on non-standard options ; -ea[:<packagename>...|:<classname>] ; -enableassertions[:<packagename>...|:<classname>] ; enable assertions with specified granularity ; -da[:<packagename>...|:<classname>] ; -disableassertions[:<packagename>...|:<classname>] ; disable assertions with specified granularity ; -esa | -enablesystemassertions ; enable system assertions ; -dsa | -disablesystemassertions ; disable system assertions ; -agentlib:<libname>[=<options>] ; load native agent library <libname>, e.g. -agentlib:hprof ; see also, -agentlib:jdwp=help and -agentlib:hprof=help ; -agentpath:<pathname>[=<options>] ; load native agent library by full pathname ; -javaagent:<jarpath>[=<options>] ; load Java programming language agent, see java.lang.instrument ; -splash:<imagepath> ; show splash screen with specified image ; See http://www.oracle.com/technetwork/java/javase/documentation/index.html for more details. 1 -- Best regards, Alexey Veretennikov _______________________________________________ Lisp Hug - the mailing list for LispWorks users lisp-hug@lispworks.com http://www.lispworks.com/support/lisp-hug.html