Solved

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

Posted on 2014-02-06
15
2,154 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
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
 
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
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

758 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now