eclipse-platform / eclipse.platform

https://eclipse.dev/eclipse/
Eclipse Public License 2.0
77 stars 109 forks source link

Cannot specify a workspace #292

Open CElliott316 opened 1 year ago

CElliott316 commented 1 year ago

This issue concerns a new install of Eclipse 2022-12 on a new computer. The install goes OK, but no matter how one enters a string to specify a workspace, Eclipse concatenates it, incorrectly, with its own suggestion to yield an invalid directory name. On the computer being replaced, Eclipse staggers rather than runs as part after part, usually the result of an update, has failed. The latest update will not permit Eclipse to run because it says it has to have JDK 17 or above. JDK 17 is clearly installed, but Eclipse won't run.

Error message: "Could not launch the product because the specified workspace directory is either invalid or read-only." "Please choose another workspace as 'C:\WINDOWS\system32/harles.elliott316@co' is currently in use."

O/S Name: Microsoft Windows 11 Pro Version: 10.0.22621 build 22621 CPU: AMD Ryzen 7 5800X 8-cores, 3800 Mhz, 16 logical processors RAM: 64 GB, 2666 Mhz Motherboard: ASUS TUF GAMING X570-PLUS (WI-FI)

Thank you in advance for your help in this matter.

mickaelistria commented 1 year ago

The install goes OK, but no matter how one enters a string to specify a workspace, Eclipse concatenates it, incorrectly, with its own suggestion to yield an invalid directory name

Have you tried the Browse button?

The latest update will not permit Eclipse to run because it says it has to have JDK 17 or above. JDK 17 is clearly installed, but Eclipse won't run.

Please check that eclipse.ini does not reference an older Java version as -vm parameter.

CElliott316 commented 1 year ago

Thank you for your prompt response.

Have you tried the Browse button?

Yes, that produced the error message repeated in my original complaint. Instead of prompting with a location in C:\Users\Name\etc. concatenated with my location specification (E:\Development\Eclipse\ProgName, including the colon), it prompted with C:\Windows\System32 concatenated with the name part of my eMail address, less the first and last characters.

Please check that eclipse.ini does not reference an older Java version as -vm parameter.

Yes, that was exactly the problem. I found it early yesterday morning and Eclipse worked fairly well after changing it to point to JDK-19, with two exceptions:

1) When a recommender is invoked, the IDE crashes. The workaround is to click on Ignore in the recommender message box.

2) My program, which only required a tiny change to be made correct, now runs perfectly if started from the Command Prompt window, but completely ignores the changed code if invoked within Eclipse. (This was on the old computer, the one being replaced, where Eclipse has worked well for years.)

Again, thank you for your help.

From: Mickael Istria @. Sent: Monday, December 12, 2022 9:24 AM To: eclipse-platform/eclipse.platform @.> Cc: CElliott316 @.>; Author @.> Subject: Re: [eclipse-platform/eclipse.platform] Cannot specify a workspace (Issue #292)

The install goes OK, but no matter how one enters a string to specify a workspace, Eclipse concatenates it, incorrectly, with its own suggestion to yield an invalid directory name

Have you tried the Browse button?

The latest update will not permit Eclipse to run because it says it has to have JDK 17 or above. JDK 17 is clearly installed, but Eclipse won't run.

Please check that eclipse.ini does not reference an older Java version as -vm parameter.

— Reply to this email directly, view it on GitHub https://github.com/eclipse-platform/eclipse.platform/issues/292#issuecomment-1346597672 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AGGHF6HSRLI2EBKZYF7NMXLWM4YPXANCNFSM6AAAAAAS3IRKVQ . You are receiving this because you authored the thread.Message ID: @.***>