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
Solved

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

Posted on 2014-02-06
15
2,297 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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
tomcat administrtor 12 61
Android development question 2 54
Java program running SQL query 5 37
collection output issue 9 36
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
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 prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

839 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