Comments (4)
Interesting that you mentioned the manifest does not have the Class-Path
attribute, does it work on OpenJDK if you set it to the jar name in the META-INF/MANIFEST.MF
manually?
I am only testing using the Oracle JDK and don't want to test on multiple JDKs for every change. I'd be more than happy to have OpenJDK support via contributions though.
from erlyberly.
Interesting that you mentioned the manifest does not have the Class-Path attribute, does it work on OpenJDK if you set it to the jar name in the META-INF/MANIFEST.MF manually?
I tried to set it to the jar name Class-Path: erlyberly-0.6.7-runnable.jar
- same result. I tried to set it to .
- same result. I tried to set it to erlyberly
- same result.
(Main commands I used:
jar -xf erlyberly-0.6.7-runnable.jar META-INF/MANIFEST.MF
jar ufm erlyberly-0.6.7-runnable.jar META-INF/MANIFEST.MF
)
from erlyberly.
Maybe OpenJDK does not support javafx package? Or maybe my OpenJDK installation is broken.
$ java -verbose -Xdiag -jar erlyberly-0.6.7-runnable.jar
...
Error: Could not find or load main class erlyberly.ErlyBerly
...
java.lang.NoClassDefFoundError: javafx/application/Application
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:495)
Caused by: java.lang.ClassNotFoundException: javafx.application.Application
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 13 more
...
from erlyberly.
It looks like I have a version of OpenJDK without JavaFX - so my bad. Apologies for the noise.
Ref https://stackoverflow.com/questions/18547362/javafx-and-openjdk
from erlyberly.
Related Issues (20)
- Modules tree prefixes Elixir modules with Elixir. HOT 1
- In Elixir registered names of a process should not have the 'Elixir.' prefix HOT 3
- Problem with fonts loading, icons are not displayed
- Trace filters not working on function arguments HOT 1
- Single Line get started problem
- Cannot connect to Elixir instance (Elixir 1.5.2 & Erlang 20.1.5) HOT 6
- Show argument names in function traces HOT 3
- Java 9 Not Supported HOT 3
- Exception and failure to display maps
- Process List stays empty for the remote node HOT 1
- Can't connect to remote nodes via SSH tunnel HOT 2
- Getting error "java.lang.RuntimeException: error loading the erlyberly module" while connecting to target node HOT 6
- rejected since it cannot handle ["BIG_CREATION"] HOT 5
- How to connect to node in container?
- I can't compile on mac m1. HOT 6
- Unable to connect a node to ErlyBerly HOT 1
- Double click on a trace throws an exception
- Query: What is the use of "Add breaker" operation? HOT 2
- Unable to trace common_test module
- connect error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from erlyberly.