Solved

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

Posted on 2014-02-06
15
2,260 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
mockito example issue 8 72
Syntax Error 2 62
java jdbc batch example 8 31
hibernate insert example 13 28
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

813 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