Can anyone provide some advice ? I didnt do anything with task 3 yet because I dont want to continue until i can figure out how to launch this game via linux OS
/home/dustinlerch/.jdks/corretto-1.8.0_352/bin/java -javaagent:/home/dustinlerch/idea-IC-221.5080.210/lib/idea_rt.jar=44107:/home/dustinlerch/idea-IC-221.5080.210/bin -Dfile.encoding=UTF-8 -classpath /home/dustinlerch/.jdks/corretto-1.8.0_352/jre/lib/charsets.jar:/home/dustinlerch/.jdks/corretto-1.8.0_352/jre/lib/ext/cldrdata.jar:/home/dustinlerch/.jdks/corretto-1.8.0_352/jre/lib/ext/dnsns.jar:/home/dustinlerch/.jdks/corretto-1.8.0_352/jre/lib/ext/jaccess.jar:/home/dustinlerch/.jdks/corretto-1.8.0_352/jre/lib/ext/jfxrt.jar:/home/dustinlerch/.jdks/corretto-1.8.0_352/jre/lib/ext/localedata.jar:/home/dustinlerch/.jdks/corretto-1.8.0_352/jre/lib/ext/nashorn.jar:/home/dustinlerch/.jdks/corretto-1.8.0_352/jre/lib/ext/sunec.jar:/home/dustinlerch/.jdks/corretto-1.8.0_352/jre/lib/ext/sunjce_provider.jar:/home/dustinlerch/.jdks/corretto-1.8.0_352/jre/lib/ext/sunpkcs11.jar:/home/dustinlerch/.jdks/corretto-1.8.0_352/jre/lib/ext/zipfs.jar:/home/dustinlerch/.jdks/corretto-1.8.0_352/jre/lib/jce.jar:/home/dustinlerch/.jdks/corretto-1.8.0_352/jre/lib/jfr.jar:/home/dustinlerch/.jdks/corretto-1.8.0_352/jre/lib/jfxswt.jar:/home/dustinlerch/.jdks/corretto-1.8.0_352/jre/lib/jsse.jar:/home/dustinlerch/.jdks/corretto-1.8.0_352/jre/lib/management-agent.jar:/home/dustinlerch/.jdks/corretto-1.8.0_352/jre/lib/resources.jar:/home/dustinlerch/.jdks/corretto-1.8.0_352/jre/lib/rt.jar:/home/dustinlerch/idea-IC-221.5080.210/plugins/CodeGymTasks/out/production/8.Games:/home/dustinlerch/idea-IC-221.5080.210/plugins/CodeGymTasks/lib/desktop-game-engine.jar com.codegym.games.minesweeper.MinesweeperGame
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:873)
Caused by: java.lang.NullPointerException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:389)
at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:328)
... 5 more
package com.codegym.games.minesweeper;
import com.codegym.engine.cell.Game;
public class MinesweeperGame extends Game {
@Override
public void initialize() {
setScreenSize(SIDE, SIDE);
}
private static final int SIDE = 9;
public void main(String[] args) {
}
}