Nasser
Nasser

Reputation: 2140

Eclipse freezes when creating a new project or a new class

I just installed Eclipse in Ubuntu. When I create a new project or create a new class, Eclipse freezes.

The confusing thing is that when I check the workspace, I find the project or the class that I create which means it can create projects and classes but why does it freeze and, in this case, I should kill Eclipse and restart again?

Also, when I write a code in the class and run it, it freezes.

Upvotes: 4

Views: 1169

Answers (1)

Nasser
Nasser

Reputation: 2140

The problem was with the version of GTK+3. All what I did is in eclipse.ini I included the following two lines:

--launcher.GTK_version
2

before the line --launcher.appendVmargs

Upvotes: 2

Related Questions