Furcanzo / ing-sw-2019-Buratti-Capra-Chiudinelli

0 stars 1 forks source link

Update readme #5

Closed michele-bertoni closed 5 years ago

michele-bertoni commented 5 years ago

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.

Kiudi commented 5 years ago

Thanks, we'll provide a better step by step procedure

Kiudi commented 5 years ago

We update the readme file. Is it better to understand now?

keni7385 commented 5 years ago

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
Kiudi commented 5 years ago

We spotted just in this moment, how we can resolve it?

keni7385 commented 5 years ago

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?

Kiudi commented 5 years ago

They said to us that java 12 was recommended but not mandatory. So we are using java 8.

Kiudi commented 5 years ago

Do we need to update to java 12? In this case how we can do it in less then 20 minutes?