How to run Cryptomator-1.4.0-beta1.jar


#1

i saw binary for macos and linux.

i know win ver can only open vault once.

so, is the win ver available for testing?

i saw some java files of 1.4.0 beta in above link.
how to use them?

thx


Cryptomator Roadmap Early 2018
#2

@ccchan from the command line:
java -jar ./Cryptomator-1.4.0-beta1.jar


#3

does not work…

E:\0-dnld\0-candel>java -jar ./Cryptomator-1.4.0-beta1.jar
Error: A JNI error has occurred, please check your installation and try again
Exception in thread “main” java.lang.UnsupportedClassVersionError: org/cryptomat
or/launcher/Cryptomator has been compiled by a more recent version of the Java R
untime (class file version 53.0), this version of the Java Runtime only recogniz
es class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)

E:\0-dnld\0-candel>


#4

Cryptomator 1.4.0 requires JDK 9. Install Java 9 and change your OS environment settings to point to the new JDK. This should solve your problem.


#5

https://java.com/en/download/

the most update for USER 's java is still java 8,
Version 8 Update 171
Release date April 17, 2018

For java 9, i found only (mostly) java “SE” 9,
https://www.oracle.com/java/java9.html

is this java “SE” 9 the one I should download for ctmt v1.4.0?

and… is java “SE” 9 itself experimental?
(java 8 surely is stable)

thanks

would be nice if someone can forward a link for “java 9” as I am a layman in java.

Thank you.


#6

You can download the latest JRE installer (version 10.0.1 at the time of writing this post) from here.


#7

It’s quite confusing for a layman to see so many variant of “java”.

"java 8, java 9"
“java SE”
“java JDK”
“JRE”

thx

ps: the “java” that I think i ever download-ed in last 5 years is at
https://java.com/en/download/

after some google:

JDK > JRE = java SE = java ?

What is JRE and JDK in Java?
JDK is a superset of JRE, and contains everything that is in JRE, plus tools such as the compilers and debuggers necessary for developing applets and applications. JRE provides the libraries, the Java Virtual Machine (JVM), and other components to run applets and applications written in the Java programming language.Dec 15, 2009


#8

That is why we don’t want non-dev people to use the .jar but rather use our .exe, .dmg, or .appimage distributions. With those you don’t need to install Java at all, since they come bundled with exactly those parts of the JVM they need.