STS crash when selecting the first workspace - spring-tool-suite

I'm using STS for the first time and I can't select a workspace because the program freezes.
Window froze
What should I do?

Try below steps:
Run STS.exe
Below STS window opend
Click on Browse button & change new project workspace location as below
Click to OK button.

Related

Eclipse - files open with no tab title or and empty content window

I just installed Eclipse on a computer and it has been working fine for the past few days. However it suddenly stopped working this morning.
When I double click a file in the File Explorer to open it, nothing happens - a new tab is opened, but the tab has no title, just a button to close the tab. The "contents" of the tab is just a light blue screen, with no text.
I have tried the following procedures, with no success:
Right click > Open with > various Eclipse editor
Reset perspective (I am in Java EE perspective)
Change perspective to Java
Opening different file formats (.java, .properties, .xml, etc)
F3 and Ctrl-Shift-T
Creating a new project and opening a file from there
Restarting, cleaning workspace
When I open a different workspace, the files open as usual, but I still want to use my old workspace.
I am using Eclipse JEE Oxygen.
Doing a re-install fixed the problem.
Try to create a new workspace and put all your projects there from the old one.
If it does not work, it's likely that there is an error in one of the projects, try to find it, delete the project from the new workspace 1 and try to open the file, repeat it until the file opens, if you make a mistake in 1 of the projects, then you can create new classes. and copy there codes from the old ones.
P. S. If nothing works, you can download INTELIJ and open your workspace there (generally Intelij is more comfortable than Eclipse in my opinion)

Eclipse opens old versions of my project

When opening Eclipse the project version is not the current one(it automatically opens the very beginning version of the project, not the current files on my drive).
I tried modifying the refresh settings in Preferences->Workspace, no luck. Also, when I right click->Refresh the project nothing happens.
I am using the last version of Eclipse Luna and the PyDev perspective.
have you tried go File then Switch Workspace e selected the right one? (even if ther is only one)
Some time it happend to me, maybe when i have eclipse opened and i click again on the eclipse startup app it ask me "load new workspace..." and it messup all
Try to look that its clearly the Workspace you would to use.
Do you have different Workspaces?
Try to check the location of the project.
Right-click on the project in Package Explorer and select "Properties"
Select "Resources" on right side and check the location.
If the location is wrong, try to import the right one using method as follows:
Right-click in Package Explorer and select "Import"
Select General->Existing Projects into Workspace and import the project.

Everytime i run eclipse IDE, its asks me to choose a new workspace.

Every-time i run Eclipse IDE for Java EE, its asks me to choose a new workspace. If i choose the same workspace, it prompts "Workspace at 'E:/Projects' in use or cannot be created. Choose a different one". How can I avoid this and run on the same workspace? Also, when i try to save the project, it prompts me with "The User Operation is waiting" and some set of operations go on for sometime and then eclipse hangs. When i restart the eclipse, i will have to change the workspace. Please let me know how can i handle this?
Thanks in advance!
In Eclipse, you can open a secondary window by dragging a tab out to a blank region of the screen. You can't open another instance of the program, as the workspace gets locked by the first process. (There might be a Window->New Window option, but I don't have Eclipse installed so I can't check)

Clearing Eclipse's 'application cache' when performing launch (Run/Debug) for Eclipse Application

I have an RCP project in Eclipse which I launch as an 'Eclipse Application'. After launching and playing with the application, I close it, make some more code modifications and launch again. When I launch the second time, the same changes in the application (tabs opened, fields highlighted...) remain the same as my previous launch. How can I get the Eclipse Application launcher to completely forget my previous run. I am already performing Project > Clean, and running Eclipse with -clean. I would like my 'eclipse application cache' to be cleaned for every run of the code.
On the Run/Debug Configurations dialog, choose the configuration you want to change, go to Main tab, check the Clear checkbox inside Workspace Data group and select the workspace radio button. Uncheck Ask for confirmation before clearing if you wish.

Eclipse: Open in New Window

In Package Explorer I right-clicked on project and selected "Open in New Window". New Eclipse window was opened with that project. Then I closed old, "main" Eclipse window, so only new "project" window remained.
Now each time I launch Eclipse I have this "project" window with project name in window title and Package Explorer drilled down into this project. And I need to press "Up" button in Package Explorer to see all my projects.
How can I restore default behaviour and launch Eclipse with workspace scope and not project?
My original answer: Once you get the Package Explorer the way you want it, if you exit Eclipse cleanly it should come back that way.
My revised answer: It looks like a bug, even if you exit cleanly it comes back inside of the project. And in fact when you create a new window no matter what it puts you into the project. Even if you switch to the project explorer.
I found a way to fix it though, do a Window -> Close All Perspectives, then open the Java perspective and exit and come back in and you should be OK. I have filed this bug about it.
Close the project properly " File --> Close All", Then restart eclipse.
OR you can create a new work space " File --> Switch Workspace --> Other..."
Im not sure this is what you are looking for but the Documentation offers a command line option to select the start workspace:
The workspace is the physical location (file path) you are working in.
You can choose the workspace during startup of Eclipse or via the menu
( File → Switch Workspace → Others.