Solved

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

Posted on 2014-02-06
15
2,333 Views
Last Modified: 2014-02-18
Whenever I run Netweaver Developer Studio I get error

JVM terminated Exit Code = -1
the attached screen shows details
JVM Terminated Exit Code = -1
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?
0
Comment
Question by:jgdvishnu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
15 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 39840994
Does it still happen with Java 6.45?

mlmcc
0
 

Author Comment

by:jgdvishnu
ID: 39841142
Yes. It does happen. It's not clear as to why this is happening
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 39841442
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)
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 6

Expert Comment

by:Mahesh Bhutkar
ID: 39841487
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)
0
 

Author Comment

by:jgdvishnu
ID: 39842099
I tried tweeking the parameters so that it could run but it did not happen.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 39842421
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

0
 

Author Comment

by:jgdvishnu
ID: 39843032
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
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 39843118
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
0
 

Author Comment

by:jgdvishnu
ID: 39843228
The error window is a message box and nothing can be typed on that
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 39843238
Please read my preceding comments more carefully
0
 

Author Comment

by:jgdvishnu
ID: 39843407
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.

Java Exit Code = -1
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 39843544
I mean run the same command from the command line
0
 

Author Comment

by:jgdvishnu
ID: 39845390
Cehj

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

command -clean -jdk options
Possibly I am doing something wrong. Kindly help.
0
 

Accepted Solution

by:
jgdvishnu earned 0 total points
ID: 39855974
The installer of SAP Netweaver Developer Studio was 32 bit and it required JVM to be 32 bit.
After setting JAVA_HOME to 32 bit the problem was gone.


JVM Exit code = -1 for NWDS 7.3
0
 

Author Closing Comment

by:jgdvishnu
ID: 39866882
This worked
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Problem to Alipay 10 67
restrict decimal places for double datatype 10 29
American Express @Work site and Java 4 63
Netbeans and org.apache.commons.lang3 issue 3 22
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
This video teaches viewers about errors in exception handling.

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question