jump to navigation

Eclipse 3.5 Startup error JVM Terminated. Exit Code=-1 —> Resolution January 4, 2010

Posted by prvenkatr in Information Technology.
add a comment

I too faced the problem of “JVM Terminated. Exit Code=-1″ when i installed eclipse 3.5 in a fresh directory.
This is faced by many people and there are some workarounds given by many people. I thank them for their efforts.

Let me list down what worked for me.

Solution 1:
Renaming eclipse.exe to eclipse1.exe

Solution 2:
The real problem is with the eclipse.ini file. If you have you old exlipse.ini file from the previous version that is working fine then you can adopt from that and change only the entries like plugins\, launch\ etc which refers to the new jar version. For example the for plugin the entry will be like the following.
plugins\org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar

Ok.

The below is my eclipse.ini file entries.

–launcher.XXMaxPermSize
256M
-framework
plugins\org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-vmargs
-Dsun.lang.ClassLoader.allowArraySyntax=true
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m
-Duser.name=My Name

More Info:
I use Windows XP and my machine has multiple JVM installations. 1.5, 1.6 from Sun and also Jrockit JVM from 1.5.

I personally prefer Solution 2, for very obvious reasons.

Installing Apache httpd Server in Solaris With SSL December 24, 2009

Posted by prvenkatr in Uncategorized.
add a comment

STEPS for installing  Apache
=============================
0) Check UMASK — Change UMASK to 0022
umask
umask 0022 (if it is not 0022 change to this value)

1)Gzip
gzip -d httpd-2.2.11.tar.gz

2)Untar
tar xvf httpd-2.2.11.tar

3)check env variable for path
env

4) Set path for c compilers available in solaris.
PATH=/usr/sfw/bin:/usr/ccs/bin:/usr/bin:$PATH
export PATH

5) cd httpd-2.2.11

6)Configuring. –prefix –> the loaction of installation of the server.

./configure –prefix=/app/apacheweb2.2.11/install/ –enable-proxy –enable-ssl –with-user=appuser –with-group=appgroup

7)make

8)make install

9) Open httpd.conf in conf folder of installation for making the Changes to serverName, User, group and to add Proxy configurations. (Which will discuss in detail in another post)

10) Configuting SSL (Need to change (httpd-ssl.conf for  entry “SSLCertificateFile”)
generate the ssl cerificate and put it at the below mentioned location

SSLCertificateFile “/app/apacheweb2.2.11/install//conf/server.crt”

ssl key

SSLCertificateKeyFile “/app/apacheweb2.2.11/install//conf/server.key”

Download Apache   httpd-2.2.11.tar.gz first… (Ha Ha)

Follow

Get every new post delivered to your Inbox.