Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Commercial » Eclipse 3.1: JVM terminated Exit code=-1; Computer 138MB RAM, Windows98, jdk1.5
Eclipse 3.1: JVM terminated Exit code=-1; Computer 138MB RAM, Windows98, jdk1.5 [message #561061] Fri, 14 October 2005 18:29
boris starchev is currently offline boris starchevFriend
Messages: 10
Registered: July 2009
Junior Member
On computers with 138MB RAM and Windows98 we have installed:
1) jdk-1_5_0_04-windows-i586-p.exe
2) eclipse-SDK-3.1-win32.zip
When my pupils make a little program OutFile.java in different places they
have received the windows message “Addressing Exception” in Java Virtual
Machine. For example when make a new row (Enter) or when use: Right Click;
Source; Organize Imports.
We have to restart computer or we have to restart Eclipse receiving
message:
JVM terminated Exit code=-1
C:\Windows\javaw.exe
-Xms40m
-Xmx256m
-jar D:\eclipse\startup.jar
-os win32
-ws win32
-arch x86
-launcher D:\eclipse\eclipse.exe
-name Eclipse
-showsplash 600
-exitdata fffc2929-8
-vm C:\WINDOWS\javaw.exe
-vmarge
-Xms40m
-Xmx256m
-jar D:\eclipse\startup.jar


Six months earlier we have on the same computers with 138MB RAM and
Windows98 installed:
1) j2sdk-1_4_2_03-windows-i586-p.exe
2) eclipse-SDK-3.0.1-win32.zip
and every thing was all right.

I think the problem may arise from:
1) Insufficient RAM
2) Wrong interaction between installed Java JDK (JRE) 1.5 and java 1.4 in
Eclipse.
3) Error in Eclipse



Solutions:
1. Go back to j2sdk-1_4_2_03-windows-i586-p.exe (but Eclipse 3.1)
2. Go back to j2sdk-1_4_2_03-windows-i586-p.exe and Eclipse 3.0
3. Use eclipse-SDK-3.1.1-win32.zip with either JDK 1.4 or JDK 1.5
4. School buying 10 new computers (quite imposable in short run)

What have to be done?
Help! Help!
Boris Starchev - Teacher Bulgaria

OutFile.java

package file;

import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;

public class OutFile {
private static PrintWriter writer;

/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
try{
writer=new PrintWriter(new FileWriter("C:/Documents and
Settings/boris/Desktop/testwin98/out.txt"));
}catch(IOException e){
System.out.println("Exeption:"+e.getMessage());
System.exit(1);
}
writer.println("New file");
writer.println("New Line");
}
}

Recently I have tried (2005.10.13)
I)Change eclipse.ini from:
-vmargs
-Xms40m
-Xmx256m
to:
-vmargs
-Xms40m
-Xmx128m

II)Change eclipse.ini from:

-vmargs
-Xms40m
-Xmx256m
to:
-vm C:\Program Files\Java\jre1.5.0_04\bin\javaw.exe
-vmargs
-Xms40m
-Xmx128m

Result is:
JVM terminated Exit code=-1
C:\Windows\javaw.exe
-Xms40m
-Xmx128m
-jar D:\eclipse\startup.jar
-os win32
-ws win32
-arch x86
-launcher D:\eclipse\eclipse.exe
-name Eclipse
-showsplash 600
-exitdata fffc2929-8
-vm C:\Program Files\Java\jre1.5.0_04\bin\javaw.exe
-vm C:\WINDOWS\javaw.exe
-vmarge
-Xms40m
-Xmx128m
-jar D:\eclipse\startup.jar

Any suggestions will be useful!
Previous Topic:Eclipse 3.1: JVM terminated Exit code=-1; Computer 138MB RAM, Windows98, jdk1.5
Next Topic:[ANN] v4.2 - SWT Designer, Swing Designer & WindowBuilder Pro
Goto Forum:
  


Current Time: Thu Apr 25 01:41:50 GMT 2024

Powered by FUDForum. Page generated in 0.02545 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top