Eclipse Problem

I don't Know Why My Ecplise IDE is not opening even i downloaded it more than 3 times and also uninstalled it 2 times .. Actually When it's downloaded it is opening but when I try to open it second time it is not opening.. Can Anyone Help
95 Replies
JavaBot
JavaBot9mo ago
This post has been reserved for your question.
Hey @Danix! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
dan1st
dan1st9mo ago
How are you opening it? Which operating system are you using?
Danix
DanixOP9mo ago
Windows 11 @dan1st | Daniel
dan1st
dan1st9mo ago
. also try opening a terminal in the Eclipse installation directory and run eclipsec from that terminal
Danix
DanixOP9mo ago
This thing I am facing
Danix
DanixOP9mo ago
dan1st
dan1st9mo ago
I said eclipsec, not eclipse alternatively, you could try eclipse -console Also I didn't say anything about -clean
Danix
DanixOP9mo ago
dan1st
dan1st9mo ago
I meant running eclipsec in the terminal here instead of eclipse -clean, run eclipsec
Danix
DanixOP9mo ago
This is what I got
Danix
DanixOP9mo ago
No description
Danix
DanixOP9mo ago
@dan1st | Daniel
dan1st
dan1st9mo ago
Can you show the eclipse.ini? (open the file in some text editor)
Danix
DanixOP9mo ago
No description
Danix
DanixOP9mo ago
@dan1st | Daniel
dan1st
dan1st9mo ago
just remove that line
No description
Danix
DanixOP9mo ago
Now it says version 1.8.0_202 of the jvm is not suitable for this product. Version 17 or greater is required
dan1st
dan1st9mo ago
Do you have Java 17 or later installed on your system? When installing Eclipse, did you specify a Java version in the installer?
Danix
DanixOP9mo ago
The eclipse automatically take java version 21
dan1st
dan1st9mo ago
Well in your case it uses Java 8 anyways do you know where Java 21 is installed on your system?
Danix
DanixOP9mo ago
No description
Danix
DanixOP9mo ago
Yehh I checked it
dan1st
dan1st9mo ago
what's the output of where java?
Danix
DanixOP9mo ago
Ahh let me check it Environment path
dan1st
dan1st9mo ago
just enter where java in cmd it will tell you where it is
Danix
DanixOP9mo ago
No description
dan1st
dan1st9mo ago
ok In the eclipse.ini, add the following two lines
-vm
C:\Program Files\Java\jdk-21\bin\java-21\bin\java.exe
-vm
C:\Program Files\Java\jdk-21\bin\java-21\bin\java.exe
(you can later replace java.exe with javaw.exe but for now it would be good to see the console etc) also there may be a better version of that by using the jvm.dll which may be located in some other directory
Danix
DanixOP9mo ago
Should I also add
-v
-v
vm!
dan1st
dan1st9mo ago
Note, you should add these at the beginning of that file or at least before -vmargs ? just these two lines
Danix
DanixOP9mo ago
Ohh Ok I did it
dan1st
dan1st9mo ago
Does it work?
Danix
DanixOP9mo ago
No description
dan1st
dan1st9mo ago
don't add it at the end add it at the beginning it must be at some point before -vmargs
Danix
DanixOP9mo ago
Ohh I am getting error
dan1st
dan1st9mo ago
what's the error?
Danix
DanixOP9mo ago
No description
dan1st
dan1st9mo ago
Did you run it from the terminal with eclipsec?
Danix
DanixOP9mo ago
No Directly from app icon
dan1st
dan1st9mo ago
try running it from the terminal using eclipsec and check the output shown in the terminal
Danix
DanixOP9mo ago
Its the same error
Danix
DanixOP9mo ago
No description
No description
dan1st
dan1st9mo ago
What's shown in the .log file shown in the error? btw you can just paste stuff into Discord you don't need to take images with your phone it's easier to read that way
Danix
DanixOP9mo ago
It's not but this
dan1st
dan1st9mo ago
?
Danix
DanixOP9mo ago
No description
dan1st
dan1st9mo ago
yes and this error gives you the path to some file you can open that file and look what's inside and that file should tell you what's wrong
Danix
DanixOP9mo ago
The file is too long
dan1st
dan1st9mo ago
the end is the most important part Also if possible, just paste the text into Discord not images
Danix
DanixOP9mo ago
!ENTRY org.eclipse.osgi 4 0 2024-04-15 12:54:39.328
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:86)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
!ENTRY org.eclipse.osgi 4 0 2024-04-15 12:54:39.328
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:86)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
the error at the end
dan1st
dan1st9mo ago
Did you move the eclipse installation after downloading/installing it?
Danix
DanixOP9mo ago
Not today but may be before when I downloaded it
dan1st
dan1st9mo ago
you can try adding
-Dosgi.bundles=org.eclipse.equinox.common@2:start,org.eclipse.update.configurator@3:start,org.eclipse.core.runtime@start
-Dosgi.bundles=org.eclipse.equinox.common@2:start,org.eclipse.update.configurator@3:start,org.eclipse.core.runtime@start
to the eclipse.ini that may have caused the problem after installing, you shouldn't move the installation directory
Danix
DanixOP9mo ago
Where to add it
dan1st
dan1st9mo ago
at the end
Danix
DanixOP9mo ago
Before exception right ?
dan1st
dan1st9mo ago
? in the eclipse.ini not the log file
Danix
DanixOP9mo ago
Ohh Now I am getting error into another log file
dan1st
dan1st9mo ago
then you'd need to check the error
Danix
DanixOP9mo ago
!ENTRY org.eclipse.osgi 4 0 2024-04-15 13:01:02.119
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:86)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
!ENTRY org.eclipse.osgi 4 0 2024-04-15 13:01:02.119
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:86)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
dan1st
dan1st9mo ago
Is that the new log file?
Danix
DanixOP9mo ago
yehh
dan1st
dan1st9mo ago
This really looks like you moved the Eclipse installation you might want to try installing it again without moving it or you just download the zip file instead of the installer
Danix
DanixOP9mo ago
can u tell me how to do it bcz i have already try alot times i havenot move it today when i download it
dan1st
dan1st9mo ago
just try with the zip file instead of installing
Danix
DanixOP9mo ago
So should I have to delete the ecplise from my OS First
dan1st
dan1st9mo ago
dan1st
dan1st9mo ago
No description
dan1st
dan1st9mo ago
that should download a zip file Extract that zip file where you want and it should come with everything you need
Danix
DanixOP9mo ago
Ohh
dan1st
dan1st9mo ago
and it should even be possible to move it around
Danix
DanixOP9mo ago
Ok Btw how did u know all the things like what the error is and what might the problem was .. Did u learned all those stuffs
dan1st
dan1st9mo ago
I use Eclipse and Java for quite some time (and I have done some weird/questionable things that break stuff) so I am experienced with what these things are
Danix
DanixOP9mo ago
Ohh
dan1st
dan1st9mo ago
and for that, I googled it and found https://stackoverflow.com/a/8775340/10871900
Stack Overflow
"Unable to acquire application service" error while launching Eclipse
When ever I try to launch my eclipse I am getting the following exception an its not coming up. java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse....
Danix
DanixOP9mo ago
Are u a backend developer
dan1st
dan1st9mo ago
For that, I knew what the security manager is and that these things are configured in the eclipse.ini yes
Danix
DanixOP9mo ago
Ohh
dan1st
dan1st9mo ago
for that, it literally told you what the issue was and I know how to change the JVM
Danix
DanixOP9mo ago
Actually I am also following the path of java backend developer but really confused about the technologies that what should I would have to learn . I know java , spring core , database but don't know what technology I should follow up next. Can u suggest
dan1st
dan1st9mo ago
So you already know Java and Spring?
Danix
DanixOP9mo ago
Yehh I know java and spring core
dan1st
dan1st9mo ago
Were you using Spring Boot?
Danix
DanixOP9mo ago
I am confused on it like should I have to learn spring MVC before it or not
dan1st
dan1st9mo ago
just use Spring Boot and learn Spring MVC using Spring Boot
dan1st
dan1st9mo ago
Spring Academy - Unlock your full potential with Spring courses fro...
Unlock your full potential with Spring courses from the Spring team.
Guides
Guides
Level up your Java code and explore what Spring can do for you.
Danix
DanixOP9mo ago
Like While Learning Spring Boot I should have to learn Spring MVC with it
dan1st
dan1st9mo ago
Learning Spring Boot itself isn't that hard like Spring Boot just makes working with Spring easier by automatically configuring stuff for you/making configuration easier
Danix
DanixOP9mo ago
ohh
dan1st
dan1st9mo ago
For the first link there, the free courses are probably enough
Danix
DanixOP9mo ago
so i have to learn Spring MVC as Well is that for spring boot
dan1st
dan1st9mo ago
I think these are using Spring Boot Spring Boot will probably make this easier :)
Danix
DanixOP9mo ago
I am confused now Should I have to learn spring MVC as well or not if i am learning Spring boot
dan1st
dan1st9mo ago
Nothing stops you from using Spring Boot together with Spring MVC
Danix
DanixOP9mo ago
Do u have any roadmap that i can follow up Bcz that will really help me alot
JavaBot
JavaBot9mo ago
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one. In case your post is not getting any attention, you can try to use /help ping. Warning: abusing this will result in moderative actions taken against you.
Want results from more Discord servers?
Add your server