Link to home
Start Free TrialLog in
Avatar of Steve Sperber
Steve SperberFlag for United States of America

asked on

JVM terminated Exit Code = -1 when running SAP Netweaver Developer Studio 7.3

Whenever I run Netweaver Developer Studio I get error

JVM terminated Exit Code = -1
the attached screen shows details
User generated image
This started coming after upgrading Java 6 to Java 7 and adding it in build path in one of the projects.

I uninstalled all Java version and then installed Java 6.45 version based on internet search results.

I want to fix this asap and also understand why this happens?
Avatar of Mike McCracken
Mike McCracken

Does it still happen with Java 6.45?

mlmcc
Avatar of Steve Sperber

ASKER

Yes. It does happen. It's not clear as to why this is happening
Perhaps because of this?

-Dosgi.requiredJavaVersion=1.6

Open in new window


You ought to try to set that jvm argument to 1.7 (for one thing, 1.6 is full of serious security holes - especially on Windows)
Can you increase both the JVM heap size & PermSpace?

You can do so by increasing the vm parameters inside your config file from where you are running java command.
 
-XMX = 1024M (heap size set to 512/1024 MB)

-XX:MaxPermSize = 256M (perm space set to 256 MB)
I tried tweeking the parameters so that it could run but it did not happen.
I would run that same command at the command line and post the output.

If there's too much to capture, then do

command >output.log 2>&1

Open in new window

I ran the command

C:\NWDS 7.3\eclipse>SapNetweaverDeveloperStudio.exe -clean

C:\NWDS 7.3\eclipse>SapNetweaverDeveloperStudio.exe >output.log 2>&1

Open in new window


and the output.log was empty
The fact that it was empty is not surprising. All you're doing is starting the IDE by the looks. You're meant to be running the same command as in the error window
The error window is a message box and nothing can be typed on that
Please read my preceding comments more carefully
Sorry CEHJ I am not sure what is meant by

running the same command as in the error window

Anyway I uninstalled Java and run eclipse it works fine but only NWDS gives this weired error.

User generated image
I mean run the same command from the command line
Cehj

It did not work. I tried same thing earlier too but this error comes all the time.

User generated image
Possibly I am doing something wrong. Kindly help.
ASKER CERTIFIED SOLUTION
Avatar of Steve Sperber
Steve Sperber
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This worked