Cevelop / Issues

The official issue tracker for Cevelop.
9 stars 1 forks source link

Alert no main class on first startup #115

Closed VictorEijkhout closed 4 years ago

VictorEijkhout commented 4 years ago

I've downloaded the latest Mac OS version (I'm running 10.13.6) and starting up Cevelop gives me an alert. Screenshot attached. Screen Shot 2019-11-03 at 10 00 34 AM

VictorEijkhout commented 4 years ago

Oh, is this the "does not start" item in the FAQ? Your link to "JRE 8 on El Capitan" does not work for me: I'm on 10.13, not 10.11. The page linked has no mention of JRE 8 and it has no tar.gz that I can find.

tcorbat commented 4 years ago

Hi Thanks for your report. The solution linked in the FAQ only helps if you have a 32-bit JVM installed, as Cevelop is built for 64-bit Java only. And you need to have at least Java 8, newer versions should work as well. Could you check your setup? Otherwise this link might help you install a recent JRE: https://mac.thetutorialfree.com/2017/10/17/how-to-install-jre-8-on-mac-high-sierra-10-13-os-x/

If this does not work, please let us know. It could be an issue with signing the release on our side.

VictorEijkhout commented 4 years ago

I have installed JRE 8, 64bit.

I still get the same error on startup.

Victor.

On Nov 5, 2019, at 3:17 AM, tcorbat notifications@github.com<mailto:notifications@github.com> wrote:

Hi Thanks for your report. The solution linked in the FAQ only helps if you have a 32-bit JVM installed, as Cevelop is built for 64-bit Java only. And you need to have at least Java 8, newer versions should work as well. Could you check your setup? Otherwise this link might help you install a recent JRE: https://mac.thetutorialfree.com/2017/10/17/how-to-install-jre-8-on-mac-high-sierra-10-13-os-x/

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Cevelop/Issues/issues/115?email_source=notifications&email_token=AAFHBAXP3NKYUJJRWKMDWP3QSE2ZLA5CNFSM4JIL4XR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDCEORA#issuecomment-549734212, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAFHBAVKGONL5UFV6GPA72LQSE2ZLANCNFSM4JIL4XRQ.

This message is from an external sender. Learn more about why this matters.https://ut.service-now.com/sp?id=kb_article&number=KB0011401

tcorbat commented 4 years ago

Hmm interesting. I've checked our Cevelop release and it seems fine. According to this stack overflow article, it might still be a problem with the Java version. The last reply suggests manually specifying the JVM to use for execution. The cevelop.ini works as the eclipse.ini in this regard. You can try to specify you Java 8 execution environment there and try again.

VictorEijkhout commented 4 years ago

I installed JRE 8 from the link you gave last time. I get:

[~:2] java -version java version "1.6.0_65" Java(TM) SE Runtime Environment (build 1.6.0_65-b14-468) Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-468, mixed mode) [~:3] which java /usr/bin/java

It seems 1.6 is too low according to that stackoverflow article. Where did the downloaded java install itself? Could it be I’m not using it?

Victor.

On Nov 6, 2019, at 7:45 AM, tcorbat notifications@github.com<mailto:notifications@github.com> wrote:

Hmm interesting. I've checked our Cevelop release and it seems fine. According to thishttps://stackoverflow.com/questions/51261226/error-when-open-eclipse-mac stack overflow article, it might still be a problem with the jam version. The last reply suggests manually specifying the JVM to use for execution. The cevelop.ini works as the eclipse.ini in this regard. You can try to specify you Java 8 execution environment there and try again.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Cevelop/Issues/issues/115?email_source=notifications&email_token=AAFHBARACYQJ6B3JIKKA7YTQSLC6RA5CNFSM4JIL4XR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDGSG7I#issuecomment-550314877, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAFHBASREP7A5IASG6TLR23QSLC6RANCNFSM4JIL4XRQ.

This message is from an external sender. Learn more about why this matters.https://ut.service-now.com/sp?id=kb_article&number=KB0011401

tcorbat commented 4 years ago

I'm sorry but I don't know where the installer might have installed Java 8. I would expect that /usr/bin/java is only a link to the actual Java installation. You might check where the link points and see whether there is a colocated Java 8 installation.

VictorEijkhout commented 4 years ago

[~:4] ls -l /usr/bin/java lrwxr-xr-x 1 root wheel 74 Nov 30 2017 /usr/bin/java@ -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java [~:5] ls /System/Library/Frameworks/JavaVM.framework/Versions A/ Current@

So how is that on your Mac?

Victor.

On Nov 6, 2019, at 8:03 AM, tcorbat notifications@github.com<mailto:notifications@github.com> wrote:

I'm sorry but I don't know where the installer might have installed Java 8. I would expect that /usr/bin/java is only a link to the actual Java installation. You might check where the link points and see whether there is a colocated Java 8 installation.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Cevelop/Issues/issues/115?email_source=notifications&email_token=AAFHBATHDYBDBYISQOOQ2S3QSLFE5A5CNFSM4JIL4XR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDGUGZA#issuecomment-550323044, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAFHBASONLW3FJI3V2ELLJTQSLFE5ANCNFSM4JIL4XRQ.

This message is from an external sender. Learn more about why this matters.https://ut.service-now.com/sp?id=kb_article&number=KB0011401

tcorbat commented 4 years ago

Our shows exactly the same output. But on our Mac Java 13 is installed. There might be something else you could check. If I execute /usr/libexec/java_home I get:

/Library/Java/JavaVirtualMachines/jdk-13.0.1.jdk/Contents/Home

Maybe you could check /Library/Java/JavaVirtualMachines for other Java installations.

VictorEijkhout commented 4 years ago

On Nov 6, 2019, at 8:54 AM, tcorbat notifications@github.com<mailto:notifications@github.com> wrote:

Maybe you could check /Library/Java/JavaVirtualMachines for other Java installations.

No dice. However, the java control panel tells me where it was installed:

[~:8] ls -ld /Library/Java/JavaVirtualMachines/ drwxr-xr-x 3 root wheel 96 Dec 6 2017 /Library/Java/JavaVirtualMachines// [~:9] ls "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java" /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java*

So that’s only as an internet plugin? Did I have the wrong installer? Can you give me the exact link to what to download? The last page you sent me had about 500 links.

Btw, how can you have Java 13, while I have 1.8. The difference between those version numbers is a bit ludicrously large.

Victor.

PeterSommerlad commented 4 years ago

There are several options to install modern java. I would recommend to use homebrew:

brew cask install java

should work. otherwise take a look at https://stackoverflow.com/questions/21964709/how-to-set-or-change-the-default-java-jdk-version-on-os-x

or similar questions...

or install the jdk from oracle :

https://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html#javasejdk

fmorgner commented 4 years ago

Btw, how can you have Java 13, while I have 1.8. The difference between those version numbers is a bit ludicrously large.

The Java folks changed their versioning scheme after 1.8, dropping the '1.' prefix.

VictorEijkhout commented 4 years ago

That stackoverflow link was useful. I was able to start up Cevelop. Thanks.

Victor.

On Nov 7, 2019, at 4:42 AM, Peter Sommerlad notifications@github.com<mailto:notifications@github.com> wrote:

There are several options to install modern java. I would recommend to use homebrew:

brew cask install java

should work. otherwise take a look at https://stackoverflow.com/questions/21964709/how-to-set-or-change-the-default-java-jdk-version-on-os-x

or similar questions...

or install the jdk from oracle :

https://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html#javasejdk

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Cevelop/Issues/issues/115?email_source=notifications&email_token=AAFHBAQ2E4EJ2TBOCOA3MP3QSPWHXA5CNFSM4JIL4XR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDL7NIY#issuecomment-551024291, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAFHBAVNCLPLQ74G5J5UBATQSPWHXANCNFSM4JIL4XRQ.

This message is from an external sender. Learn more about why this matters.https://ut.service-now.com/sp?id=kb_article&number=KB0011401