Summary: | Eclipse doesn't seem to work if you delete the JDK | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Nikolay Metchev <nikolaymetchev> | ||||
Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> | ||||
Status: | RESOLVED WORKSFORME | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | philippe_mulet | ||||
Version: | 2.1 | ||||||
Target Milestone: | 3.0 M1 | ||||||
Hardware: | PC | ||||||
OS: | Windows 2000 | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Nikolay Metchev
2003-03-04 10:15:22 EST
I think the problem was that I deleted the old JDK and I had defined a container which was no longer valid. In that event eclipse seems to go berserk. What build of Eclipse are you using? Does this happen every time? Does this happen when you try to run with a new workspace or only with an existing workspace? When it freezes, does CPU usage stay high or low? I20030227, It does happen every time. However when I used a new workspace everything seemed to work fine. The CPU usage stays high when the freezing occurs. Adding Philippe as CC. Philippe, does this look like any of the deadlocks you were getting recently? The main thread is in: org.eclipse.jdt.internal.compiler.parser.Scanner.getNextCharAsJavaIdentifierPart(Scanner.java:729) Created attachment 3895 [details]
Log file of JDK 1.4.1_02 related startup problem.
I had a problem starting Eclipse after upgrading to JDK 1.4.1_02 as well. The
app starts up, but trying to bring up some windows (e.g. preferences, export)
fails: the workbench loses focus, but nothing pops up. When closing Eclipse,
it reports that an error has occurred, and complains about some of the editor
windows that were open. The log file shows the errors. Deleting the workspace
file fixes the issue.
Moving to JDT/Core for comment on the deadlock problem. Does this look related to the issues that we had before the 2.1 release? This seems to be fixed in 2.1 build. I am running my workspace every day using 2.1 build and JDK1.4.1_02 without a problem. Please update to 2.1 build. I doesn't make sense to me to try to track down a bug that is already fixed. as I noted in comment #1 The problem was that I deleted the old JDK. It wasn't the fact that I was using JDK 1.4.1_02. There was a container which was pointing to the old JDK and that container was invalid. I have forgotten the exact settings I was using! But can you still reproduce this problem with the 2.1 release ? i had saved my workspace when the problem occured and I tried running the latest eclipse with that saved workspace. It seemed to start up fine. It said there was a problem recreating the workspace but it all worked. I think you can mark this as fixed. Closing as worskforme. |