Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error loading on Mac #266

Closed
studiokaleidoscope opened this issue Jul 28, 2020 · 15 comments
Closed

Error loading on Mac #266

studiokaleidoscope opened this issue Jul 28, 2020 · 15 comments
Labels
jlink You can use the jlink tool to assemble and optimize a set of modules and their dependencies JRE Mac

Comments

@studiokaleidoscope
Copy link

Hello,

I have an error on Mac

"Cannot determine the location of JVM?

Please help to resolve.

Cheers

@RalfBarkow
Copy link
Collaborator

RalfBarkow commented Jul 28, 2020

See Issue #243 and releases:
In case you are using a Mac and you have installed:

  • Java 9 or above: download Zettelkasten_3.3.1_Mac-Java9+.dmg
  • Java 8: download Zettelkasten_3.3.1_Mac-Java8.zip

@RalfBarkow
Copy link
Collaborator

@Elmari Could you please check Zettelkasten_3.3.1_Mac-Java8.zip. Are you able to unzip and run app from that .zip?

@studiokaleidoscope
Copy link
Author

studiokaleidoscope commented Aug 24, 2020 via email

@RalfBarkow
Copy link
Collaborator

@studiokaleidoscope Do you need the version for Java 8? If not, you could use the Zettelkasten_3.3.1_Mac-Java9+.dmg.
If you still use Java 8, please download Zettelkasten_3.3.0_Mac-Java8.zip – both available from the releases page.

@Elmari I think, we need to fix our .github/workflows / Actions.

@studiokaleidoscope
Copy link
Author

studiokaleidoscope commented Aug 25, 2020 via email

@RalfBarkow
Copy link
Collaborator

@studiokaleidoscope

I did install the Java 9 version but when I try to open the message I get is “ Cannot determine the location of JVM”.

That version needs a java 9 jdk or greater.

As described by @Elmari here:

uninstall Java 8 and install Java 11 (the current LTS Version) which you can get from https://adoptopenjdk.net/ .

@studiokaleidoscope
Copy link
Author

studiokaleidoscope commented Aug 25, 2020 via email

@Elmari
Copy link
Contributor

Elmari commented Aug 25, 2020

Hi @RalfBarkow,
sorry for the late response and my abscence lately. I will test the java 8 build this weekend and will check what the error is and whether it is fixable. I really think we should push the bundling of the jre into the zettelkasten further. Then the user does not have to care about the installation of the JRE anymore.

@RalfBarkow
Copy link
Collaborator

No Problem @Elmari, it is summer despite all (and an non-commercial open source project)

bundling of the jre
#207

Would like to discuss this further as the disadvantage of this approach seems to be

[…] you give up operating system independence (each operating system requires its own image), and when the JRE is updated on the target machine, you do not benefit from its improved security or performance. Nominally you have to create modules to use jlink, but tools like Moditect allow you to bypass this. (Parlog, N. (2018) Der neue Releasezyklus von Java)

@RalfBarkow RalfBarkow added Mac JRE jlink You can use the jlink tool to assemble and optimize a set of modules and their dependencies labels Aug 25, 2020
@Elmari
Copy link
Contributor

Elmari commented Aug 25, 2020

Giving up os independence is true, though security shouldn't be an issue for us as the jre is only going to be used by zettelkasten and we don't perform any security related critical actions.
Also it seems that moditect, after a quick look at it, just creates images the same way one would normally do (without modules but that's not difficult either)

I don't want to say however, that moditect isn't suitable and that we should do it the way I said. Maybe we should discuss this in a separate ticket?

@RalfBarkow
Copy link
Collaborator

I am not at all prejudiced about this Moditect tool, but interested in a general discussion about how to proceed. Gladly in the #207 ticket for example (by the way, I have opened a corresponding project).

@Elmari
Copy link
Contributor

Elmari commented Aug 26, 2020

but interested in a general discussion about how to proceed

sounds good 👍

Ah and yes, totally forgot about ticket #207. Let's continue the discussion there

@RalfBarkow
Copy link
Collaborator

@Elmari Could you please check Zettelkasten_3.3.1_Mac-Java8.zip. Are you able to unzip and run app from that .zip?

Related to "No Mountable File Systems" error #284

@Elmari
Copy link
Contributor

Elmari commented Nov 10, 2020

Unfortunately I still haven't gotten around to fix it. Currently I am fully occupied with writing my master thesis. But I will try to look at it again this afternoon.

@RalfBarkow
Copy link
Collaborator

@Elmari But I will try to look at it again this afternoon.

No hurry. In the meantime I have deleted Zettelkasten_3.3.1_Mac-Java9+.dmg from releases and replied to Phoenicia15 to please try v3.3.0 instead (Zettelkasten_3.3.0_Mac-Java9+.dmg).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jlink You can use the jlink tool to assemble and optimize a set of modules and their dependencies JRE Mac
Projects
None yet
Development

No branches or pull requests

3 participants