Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get “Could not create the Java virtual machine” error running StarTeam 2008 Release 2 client

Tags:

jvm

starteam

Why didn't StarTeam 2008 Release 2 Client install correctly on my machine? Whenever I try to launch it, I get a “Could not create the Java virtual machine” error.

like image 721
neontapir Avatar asked Mar 25 '26 20:03

neontapir


1 Answers

Rather than being a problem locating the Java Virtual Machine, as I’d previously thought, turns out it’s a memory allocation issue.

In StarTeamCP.stjava, the default option set is -Xmx1024m. My machine doesn’t have a gig of RAM to spare for a Java VM, hence the error.

By setting it to -Xmx512m, I was able to get up and running.

See also my blog entry about this.

like image 103
neontapir Avatar answered Mar 27 '26 21:03

neontapir



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!