bugGNU Octave - Bugs: bug #61177, JVM.DLL causes octave to crash on...

 
 

bug #61177: JVM.DLL causes octave to crash on startup

Submitter:  Peter Maguire <peter_magu_gmail>
Submitted:  Fri 17 Sep 2021 11:40:40 AM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Peter Maguire Open/Closed:  * Closed
Release:  * 6.3.0 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 19 Sep 2021 12:11:11 PM UTC, comment #4: 

Thanks for reporting back.

Closing as invalid.

Markus Mützel <mmuetzel>
Group administrator
Sun 19 Sep 2021 04:51:06 AM UTC, comment #3: 

Hi  Markus

Och

It is java_home, not correctly set, I did not think of that, its setting was as I always remender it to be, i.e pointing to the directory where java.exe is and not jvm.dll.

now fixed, and working.

Thanks
Peterm

Peter Maguire <peter_magu_gmail>
Fri 17 Sep 2021 01:07:00 PM UTC, comment #2: 

Additionally, if the crash is happening on startup:
By default, Octave isn't loading the JVM automatically. Do you have any commands that might load it in you startup files?
See also: https://octave.org/doc/v6.3.0/Startup-Files.html#Startup-Files

Markus Mützel <mmuetzel>
Group administrator
Fri 17 Sep 2021 01:00:27 PM UTC, comment #1: 

Did you set JAVA_HOME? I you did, to which path did you set it?

You shouldn't need to copy or move libraries between folders.

See also: https://octave.org/doc/v6.3.0/Set-up-the-JVM.html#Set-up-the-JVM

Markus Mützel <mmuetzel>
Group administrator
Fri 17 Sep 2021 11:40:40 AM UTC, original submission:  

Octave is 64 bit build

JVM.DLL
Description: Java Hotspot(TM) 64-bit server VM
version 16.02.0

OS Name Microsoft Windows 10 Pro for Workstations
Version 10.0.19043 Build 19043

no entry in event log for crash

starting cli from cmd gets the error
 

when using JDK
Error occurred during initialization of VM
Failed setting boot class path.

When using JRE
error: opening the library '"C:\Program Files\Java\jre1.8.0_301\bin"/jvm.dll' failed (error 126): The specified module could not be found.

also Note: octave is looking for JVM in the wrong path, I copied it into the above directory. Should be "%JAVA_HOME%\server\jvm.dll"

I have tried setting CLASSPATH to no affect

Peter Maguire <peter_magu_gmail>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by peter_magu_gmail (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-09-19 mmuetzel StatusNeed Info Invalid / Not an Octave Bug
        Open/ClosedOpen Closed
    2021-09-17 mmuetzel StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code