New Java update kills VSTAR

Affiliation
American Association of Variable Star Observers (AAVSO)
Tue, 04/30/2024 - 06:01

After a JAVA update, I lost VSTAR.

Error: Could not create the JAVA Virtual Machine.

Does anyone remember what needs to be tweaked in JAVA to make VSTAR work? Something about max size somewhere in JAVA's set up file :  

_JAVA_OPTIONS with -Xmx1024M

Can't remember where to find this thing.

Ray

Affiliation
American Association of Variable Star Observers (AAVSO)
Hi BrianUsing Windoze 11.…

Hi Brian

Using Windoze 11.

I had the same problem with Windoze 10 but managed to figure how to increase the maxsize at that time.

This time, on Win 11, rundll32.exe sysdm.cpl,EditEnvironmentVariables and deleting the _JAVA_OPTIONS variable  line entirely fixed the problem. (after a reboot)

Can I now assume that JAVA apps can use all the memory they want to use? Is that a problem?

Editing the VSTAR ini (VSTAR Launcher Configuration) file a couple different ways and saving and rebooting was no fix.

Ray

Affiliation
American Association of Variable Star Observers (AAVSO)
The JAVA "can't create JAVA VM" error

The only thing I have ever seen that generates this error is if you have both a 32-bit and 64-bit JAVA runtimes installed on a 64-bit system.  Also if you have the 32-bit JAVA runtime on a 64-bit machine will generate the error originally mentioned.  If you are running 64-bt Windows you only want the 64-bit JAVA runtime installed.  If you are running an older 32-bit machine you would want the 32-bit JAVA runtime.  Uninstall all old versions is recommended by JAVA. 

Jim (DEY) 

Affiliation
American Association of Variable Star Observers (AAVSO)
Thanks

Thanks for the tips folks!

I forgot now , how I fixed it a few days ago.

I think it was something about disabling the Java memory allocation line.

Anyhow, it works now.

 

Ray