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

Check in Shell Script if java Version >= 8 #269

Closed
predic8 opened this issue Sep 6, 2016 · 0 comments
Closed

Check in Shell Script if java Version >= 8 #269

predic8 opened this issue Sep 6, 2016 · 0 comments
Assignees
Milestone

Comments

@predic8
Copy link
Member

predic8 commented Sep 6, 2016

To avoid the following error extend the scripts to check Java version and to show warning if Java < 7.

thomas@MacBook-Pro:~/java/membrane/membrane-service-proxy-4.2.2$ ./service-proxy.sh
Membrane Router running...
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/predic8/membrane/core/Starter : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants