Solved

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

Posted on 2014-02-06
15
2,482 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 101

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
Independent Software Vendors: 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses

623 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