Failed to find a Main Class in "/Applications/GalaxyWatchStudio.app/Contents/MacOS//../Eclipse/plugins/org.eclipse.equinox.launcher_1.5.0.v20180512-1130.jar"

I’m trying to run the Galaxy Watch Studio on macOS Catalina and when I run the app, I get the error Failed to find a Main Class in "/Applications/GalaxyWatchStudio.app/Contents/MacOS//../Eclipse/plugins/org.eclipse.equinox.launcher_1.5.0.v20180512-1130.jar". The only option that appears is “Ok”.

Hi @GiraffeMan,

The problem arises due to Java incompatibility. The Mac user needs to install JDK 8/14 (not JRE). See the Required Java version and may have a look at FAQ#05 in FAQs.

Therefore, I hope installing the required JDK will remedy your problem eventually.

Azad

I’m further than I was before, so I’m guessing it worked! Is there a solution option on this forum?

I don’t think we have it enabled. I’ll talk to the systems engineer when he gets back from vacation and see if we can add it. You are not the first to ask for it.

Ron
Samsung Developer Program

Hi,
I have the same error message.
I run OS X El Capitan 10.11.6
Installed v2.0.0 and Java 1.6.0.jdk
I am still getting the same message
If I run “java -version” command in terminal it gives me below:

Exception in thread “main” java.lang.NoClassDefFoundError: ?version

Caused by: java.lang.ClassNotFoundException: ?version

at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

If I run “javac –version” command, it comes back with this

javac: invalid flag: ?version

Usage: javac

use -help for a list of possible options

If I run echo $JAVA_HOME command, it return an empty line.
If I run echo $PATH command, it return this:
/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
As it is giving me something, I went to amend the info.plist file
Added the following after comment lines:
-vm
/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java
-keyring

That didn’t work.

I’m not an IT person and have no clue what to do now. Any clues?

all didn’t paste
-vm
/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java
-keyring

string doesn’t show for some reason

See GWS Fails to Launch on this page. It will give you information on how to set up Java so GWS can find it.

It has a check list that should make it much simpler.

Ron
Samsung Developer Program

This is what I’m trying to follow but none of it works or I’m not doing it right.
It’s not explained fully how to add paths to .bash_profile or amend the info.plist file
I’m not an IT person trained in computer code, so don’t know if I’m not doing it right or something else is wrong.

I haven’t used a Mac in years so I can’t help you on that either.

Someone said to download the Java JDK from Oracle and if you install it that will set your variables for you.

Ron

thank you.
App started with latest Java JDK from Oracle