Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2845
  • Last Modified:

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

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
jgdvishnu
Asked:
jgdvishnu
1 Solution
 
mlmccCommented:
Does it still happen with Java 6.45?

mlmcc
0
 
jgdvishnuSoftware ArchitectAuthor Commented:
Yes. It does happen. It's not clear as to why this is happening
0
 
CEHJCommented:
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
Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

 
Mahesh BhutkarCommented:
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
 
jgdvishnuSoftware ArchitectAuthor Commented:
I tried tweeking the parameters so that it could run but it did not happen.
0
 
CEHJCommented:
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
 
jgdvishnuSoftware ArchitectAuthor Commented:
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
 
CEHJCommented:
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
 
jgdvishnuSoftware ArchitectAuthor Commented:
The error window is a message box and nothing can be typed on that
0
 
CEHJCommented:
Please read my preceding comments more carefully
0
 
jgdvishnuSoftware ArchitectAuthor Commented:
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
 
CEHJCommented:
I mean run the same command from the command line
0
 
jgdvishnuSoftware ArchitectAuthor Commented:
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
 
jgdvishnuSoftware ArchitectAuthor Commented:
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
 
jgdvishnuSoftware ArchitectAuthor Commented:
This worked
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now