|
From: | Mike Miller |
Subject: | [Octave-bug-tracker] [bug #53520] Windows builds made with Java 8 JDK on Linux cannot find Java 9 JRE on Windows |
Date: | Thu, 5 Apr 2018 12:01:12 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0 |
Follow-up Comment #23, bug #53520 (project octave): Yes, the absolute path is shown in the error message that Philip posted, repeated here: >> javaObject ("java.lang.Double", 9.0) error: javaObject: could not find library or dependencies: C:\Program Files\Java\jre-9.0.4\bin\server\jvm.dll The path does include a space, but there shouldn't be any shell escaping issues here because the string is passed directly to LoadLibrary. And because it does work with Java 8 for Philip. I think the oct_shlib code already does some magic with directories when loading DLLs on Windows: std::string dir = sys::file_ops::dirname (f); set_dll_directory (dir); handle = LoadLibrary (file.c_str ()); set_dll_directory (); _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?53520> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |