37

In our application which is a Eclipse plugin, when Eclipse starts it takes long time and the users are seeing "Initialize Java tooling" message on the left down corner of application. Because our users don't have anything to do with java, I wonder if it is possible to disable Initialize Java tooling.

Another question: What is Initialize Java tooling?

oberlies
  • 11,503
  • 4
  • 63
  • 110
Govan
  • 2,079
  • 4
  • 31
  • 53
  • 2
    Why are you bundling the JDT plugins in your RCP application if you don't want them? Perhaps you should look at your [application assembly](http://www.ibm.com/developerworks/opensource/tutorials/os-ecl-rcpapp/section7.html). – McDowell Feb 01 '13 at 13:03
  • I think it is because we are using ErrorLog and it is a part of jdt.debug! – Govan Feb 01 '13 at 13:27

7 Answers7

25

Try to terminate eclipse then backup and delete the folder

.metadata/.plugins/org.eclipse.core.resources/.history

Restarting eclipse will not hang the Java Tooling process.

basZero
  • 4,129
  • 9
  • 51
  • 89
salvobis
  • 259
  • 3
  • 2
21

from Command prompt just type

eclipse.exe -clean

Tiwari
  • 329
  • 2
  • 7
14

The java-tooling implement a Java IDE supporting the development of any Java application, including Eclipse plug-ins. It adds a Java project nature and Java perspective to the Eclipse Workbench as well as a number of views, editors, wizards, builders, and code merging and refactoring tools. The Java-tooling provides a development environment to developer.

how to disable plugin at startup

you can try disabling the java-tooling while launching the application.I am giving you a snapshot.

enter image description here

go find perspective as Window->Preferences->Run&Launching->java Application-> and make debug an run combobox to none value. Hope this can solve your problem.

In case of Eclipse Oxygen, this settings can be found at:

Eclipse > Preferences > Run/Debug > Launching > Perspectives > Java Application > Eclipse JDT Launcher

enter image description here

RafiAlhamd
  • 341
  • 2
  • 13
arvin_codeHunk
  • 2,328
  • 8
  • 32
  • 47
  • 1
    Thank you for your help. But it is not working really. The problem is that I have to disable this via an eclipse prefrences or programatically. In our devlopment eclipse I want to use java tooling but in our product it should be disabled. I looked at the prefrences in our product under Run/Debug -> Perspectives. There is no Java application, there is just Ant but Initialize Java toolins is working anyway! – Govan Feb 01 '13 at 11:55
10

There will be a folder .metadata in your project workspace directory. Just delete the .log files in it and restart eclipse.

General Grievance
  • 4,555
  • 31
  • 31
  • 45
2

Just uncheck "Build Automatically" and force quit Eclipse. Then start it again. Project>Build Automatically - uncheck -force quit -start Eclipse

1

I know kind of late advice but because I have this issue 3 days now and I am very very frustrated....just have a copy of your eclipse IDE "virgin" as much possible to rerun it. And any plugin you want to have just do it on a direct copied version of this "virgin" eclipse. This is the only way to get away with clumsy plugins and staff under the hood that you cannot control. It's devastating to import the projects all the time from the start or deleting the metadata folders....

hephestos
  • 434
  • 1
  • 6
  • 19
0

Is to remove or rename the .projects folder in .metadata/.plugins/org.eclipse.core.resources in the workspace folder. This doesn’t seem to affect any project and the .project folder will be recreated when Eclipse restarts