Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 7
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 2585 times and has 6 replies Next Thread
AgnesLP
Newbie




Joined: Aug 15, 2016
Post Count: 4
Status: Offline
Reply to this Post  Reply with Quote 
Error "Could not create the Java Virtual Machine"

I am on Windows 10 Pro 64 Bits with 16GB RAM and now the latest versions of Java and SweetHome3D.

It was working fine, but I had problems with another programme, which prompted me to:
- Update Java
- Change my Advanced System Property and increase memory allocation
_JAVA_OPTIONS : -Xmx14000m

SInce then, I get an error when launching SH3D.
What I tried:
I have updtaed SW3D and Java.
If I reduce to -Xmx7000m or else, I have no error but WH3D does not launch at all.

WXHat can I do please?
[Nov 10, 2022, 2:15:41 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Daniels118
Advanced Member
Member's Avatar

Italy
Joined: Nov 17, 2021
Post Count: 399
Status: Offline
Reply to this Post  Reply with Quote 
Re: Error "Could not create the Java Virtual Machine"

I fear SH3D isn't compatible with the latest Java versions, however if you use the SH3D installer version it comes with its own java bundle which should solve the problem. About memory allocation, you can overwrite the system-wide value for SH3D using a config file.
[Nov 11, 2022, 7:17:11 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
AgnesLP
Newbie




Joined: Aug 15, 2016
Post Count: 4
Status: Offline
Reply to this Post  Reply with Quote 
Re: Error "Could not create the Java Virtual Machine"

Thanks @Daniels118.
What is the option you have here by default that works with SH3D?
_JAVA_OPTIONS : -Xmx14000m
[Nov 14, 2022, 8:15:00 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9141
Status: Offline
Reply to this Post  Reply with Quote 
Re: Error "Could not create the Java Virtual Machine"

How do you run Sweet Home 3D? If you use the installer version, you don't need to install Java and increasing the maximum memory used by the program is explained here.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Nov 14, 2022, 8:42:45 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
AgnesLP
Newbie




Joined: Aug 15, 2016
Post Count: 4
Status: Offline
Reply to this Post  Reply with Quote 
Re: Error "Could not create the Java Virtual Machine"

Hi Emmanuel,

I am using the Exe: "C:\Program Files (x86)\Sweet Home 3D\SweetHome3D.exe"
I am on W10 and used the latest version for windows - Free version I found here: http://sourceforge.net/projects/sweethome3d/f....0.2-windows.exe/download

And I get the error by Java Virtual Machine Launcher:
"Error: could not create the Jaqva Virtual Machine."
"Error: a fatal exception has occurred. Program will exit. "

I tried to create a SweetHome3D.l4j.ini file in that folder with "-Xmx700m" inside, but the error strill pops up.

Should I uninsstall java and reinstallSH3D? Or use another version?

I am not a heavy used but I have some files I d like to access sometimes.

Thanks for the help
Agnes
[Nov 15, 2022, 8:25:07 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9141
Status: Offline
Reply to this Post  Reply with Quote 
Re: Error "Could not create the Java Virtual Machine"

If you use Windows 10 64 bit, could you run Sweet Home 3D installer again and install the 64 bit version of the program by selecting the 64 bit architecture in the screen where you can choose installation folder?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Nov 15, 2022, 8:41:31 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
AgnesLP
Newbie




Joined: Aug 15, 2016
Post Count: 4
Status: Offline
Reply to this Post  Reply with Quote 
love struck Re: Error "Could not create the Java Virtual Machine"

Perfect!
That worked with the 64 bits version, thanks a lot @Emmanuel.
[Nov 15, 2022, 9:39:29 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

    Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads
   
© Copyright 2006-2024 eTeks - All rights reserved