Closed michele-bertoni closed 5 years ago
Thanks, we'll provide a better step by step procedure
We update the readme file. Is it better to understand now?
I have tried to run the client as specified in the readme:
Exception in thread "main" java.lang.NoClassDefFoundError: javafx/application/Application
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:151)
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:802)
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:700)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:623)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
at it.polimi.ingsw.communication.client.Client.main(Client.java:70)
Caused by: java.lang.ClassNotFoundException: javafx.application.Application
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 10 more
We spotted just in this moment, how we can resolve it?
Oh you use java 8. With java8 works. I didn't have javafx in the runtime of java 12. You weren't aware that you needed to use java 12?
They said to us that java 12 was recommended but not mandatory. So we are using java 8.
Do we need to update to java 12? In this case how we can do it in less then 20 minutes?
Since deadline is near, we need you to update your readme, by adding the procedure for launching your project. This is must be very detailed (step-by-step). Also, you need to declare the functionalities you implemented by updating the functionality table: if a functionality was not completely implemented you can leave it yellow, but it will be considered as it was red (that means 0 points); of course, don't try to cheat: we'll deeply test every green functionality. It's important that everything is up-to-date before the deadline, because we'll clone every repository at midnight and we'll use that version for tests and final review. In your case in particular, you need to explain better the procedure for launching your application.