jvm.dll not found under Windows when using util-jvm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Zorba |
Critical
|
Juan Zacarias |
Bug Description
Under Windows, launching Zorba with a query that uses the util-jvm module (for example through data-formatting) leads to an error message (jvm.dll not found).
This is possibly because %JAVA_HOME%
Related branches
- Chris Hillery: Approve on 2012-10-31
- Juan Zacarias: Approve on 2012-09-24
-
Diff: 48 lines (+14/-7)1 file modifiedcmake_modules/Windows/ProxyFindModule.cmake (+14/-7)
- Juan Zacarias: Approve on 2012-09-20
- Chris Hillery: Approve on 2012-09-19
-
Diff: 45 lines (+7/-7)2 files modifiedCMakeLists.txt (+5/-5)
cmake_modules/Windows/FindJNI.cmake (+2/-2)
Chris Hillery (ceejatec) wrote : | #1 |
Changed in zorba: | |
assignee: | Chris Hillery (ceejatec) → Juan Zacarias (juan457) |
Changed in zorba: | |
importance: | Undecided → Critical |
Changed in zorba: | |
status: | New → Fix Committed |
status: | Fix Committed → New |
Juan Zacarias (juan457) wrote : | #2 |
Yes that's true is responsibility of the user to do this, Actually for the installer I do just this, just if someone could answer me what is the file responsible for creating the zorba.bat?
Juan Zacarias (juan457) wrote : | #3 |
The fix was actually quit simple.
The problem was that the cmake_module/
A problem with fixing this, is that the FIND_PACKAGE_
Changed in zorba: | |
milestone: | none → 2.8 |
Changed in zorba: | |
status: | New → Fix Committed |
Changed in zorba: | |
milestone: | 2.8 → 2.9 |
Changed in zorba: | |
status: | Fix Committed → Fix Released |
It's up to the user to make sure their PATH is correct on Windows, isn't it?
I guess zorba.bat (and testdriver.bat) could be modified to include the path to the JVM, but that would require moving some Java-specific code into the core of Zorba. Currently all Java-specific stuff is isolated in the util-jvm module, but I'd thought about moving it into core Zorba after this release anyway.
Regardless, I'm afraid I have no way of modifying or testing the .bat files. Assigning this to Juan, and subscribing Matthias to see if he has any thoughts about what the right answer is.