Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » federal MacOS Catalina: Wont start after upgrade, "An error has occurred."(federal MacOS Catalina: Wont start after upgrade, "An error has occurred.")
federal MacOS Catalina: Wont start after upgrade, "An error has occurred." [message #1840734] Fri, 23 April 2021 02:11 Go to next message
Randy Strauss is currently offline Randy StraussFriend
Messages: 10
Registered: April 2021
Junior Member
I let Eclipse upgrade itself, sigh...

I'm running on a MacBook pro, the latest OS (I assume) that others at NASA use: Catalina 10.15.7, with a version of Java 1.8

In eclipse.ini, I changed 11 to 1.8
And added -vm, and the dir
/Library/Java/JavaVirtualMachines/jdk1.8.0_271.jdk/Contents/Home/bin
(I tried with and without an extra /java at the end)

Now, when I start, I get a window: An error has occurred. See the log file...
Attached is a zip with the ini file and the log file...

I guess it starts in 1619143567057.bak_0.log with:
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.cft.server.branding.core [96]
Unresolved requirement: Require-Bundle: org.eclipse.wst.server.core
  • Attachment: ini+log.zip
    (Size: 142.78KB, Downloaded 43 times)
Re: federal MacOS Catalina: Wont start after upgrade, "An error has occurred." [message #1840735 is a reply to message #1840734] Fri, 23 April 2021 02:48 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4086
Registered: July 2009
Senior Member

All you did was remove a safeguard. The requirement of Java 11 isn't arbitrary.

Nitin Dahyabhai
Eclipse Web Tools Platform
Re: federal MacOS Catalina: Wont start after upgrade, "An error has occurred." [message #1840795 is a reply to message #1840735] Fri, 23 April 2021 19:54 Go to previous messageGo to next message
Randy Strauss is currently offline Randy StraussFriend
Messages: 10
Registered: April 2021
Junior Member
I don't have Java 11. NASA only allows Java 1.8.
Re: federal MacOS Catalina: Wont start after upgrade, "An error has occurred." [message #1840796 is a reply to message #1840795] Fri, 23 April 2021 20:30 Go to previous messageGo to next message
Randy Strauss is currently offline Randy StraussFriend
Messages: 10
Registered: April 2021
Junior Member
Never mind- downloading a new plain-java 2021-03 eclipse seems to work,
then in the eclipse.ini
mv eclipse.ini eclipse.ini.orig
sed -e 's/=11$/=1.8/' eclipse.ini.orig > eclipse.ini
echo '-vm' >> eclipse.ini
echo `/usr/libexec/java_home`'/bin' >> eclipse.ini
Re: federal MacOS Catalina: Wont start after upgrade, "An error has occurred." [message #1840799 is a reply to message #1840796] Sat, 24 April 2021 05:51 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 31957
Registered: July 2009
Senior Member
Note that the package you downloaded contains a JRE so likely it would work without your changes to the *.ini. In fact the changes to the *.ini are probably not effective because you added -vm at the end, after the -vmargs line) and I think that just passes these as arguments to the process you launch rather than using that as the actual vm for actually launching the process. I say this because 2021-03 definitely will not run with Java 8.

Ed Merks
Professional Support: https://www.macromodeling.com/

[Updated on: Sat, 24 April 2021 06:55]

Report message to a moderator

Previous Topic:Symbol 'DDRB' could not be resolved [ISSUE RESOLVED]
Next Topic:Unable to connect to Azure SQL database from Eclipse
Goto Forum:
  


Current Time: Sun Jul 25 01:19:40 GMT 2021

Powered by FUDForum. Page generated in 0.04962 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top