-
-
Save ntung/715050219b1e1cbb6ebc2a86162874e0 to your computer and use it in GitHub Desktop.
Revisions
-
androidfred revised this gist
Oct 20, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ `java.lang.ClassNotFoundException: javafx.util.Pair` happens because `javafx.util.Pair` and other classes from `javafx.util` are not included in OpenJDK. Options for resolving: # Switch class `Map.Entry<K, V>` from `java.util` is similar to `javafx.util.Pair`. -
androidfred revised this gist
Oct 20, 2016 . 1 changed file with 1 addition and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,4 @@ Getting `java.lang.ClassNotFoundException: javafx.util.Pair`? It's because `javafx.util.Pair` and other classes from `javafx.util` are not included in OpenJDK. Options for resolving: # Switch class `Map.Entry<K, V>` from `java.util` is similar to `javafx.util.Pair`. -
androidfred revised this gist
Oct 20, 2016 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,5 @@ Getting `java.lang.ClassNotFoundException: javafx.util.Pair`? `javafx.util.Pair` and other classes from `javafx.util` are not included in OpenJDK. Options for resolving: # Switch class -
androidfred revised this gist
Oct 20, 2016 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,9 @@ `Map.Entry<K, V>` from `java.util` is similar to `javafx.util.Pair`. # Install java-openjfx Install `java-openjfx` through your package manager. (or whatever means you used to install Java on your machine) Note that `java-openjfx` is compatible with OpenJDK8, not previous versions. After installing `java-openjfx`, you may have to add it manually to your IDE SDK classpath. Eg in IntelliJ, you may have to go to `Project Structure` | `SDKs` | `<select your SDK>` | `Classpath` | `+` (the Classpath `+`, not the SDKs `+`) | and add `/usr/lib/jvm/java-8-openjdk/jre/lib/ext/jfxrt.jar` (which should be there now that `java-openjfx` has been installed) | `OK` # Switch JDK Switch to the Oracle JDK. (bleh) -
androidfred revised this gist
Oct 20, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ `Map.Entry<K, V>` from `java.util` is similar to `javafx.util.Pair`. # Install java-openjfx Install `java-openjfx` through your package manager. (or whatever means you used to install Java on your machine) Note that `java-openjfx` is compatible with OpenJDK8, not previous versions. After installing `java-openjfx`, you may have to add it manually to your IDE SDK classpath. Eg in IntelliJ, you may have to go to `Project Structure` | `SDKs` | `<select your SDK>` | `Classpath` | `+` (the Classpath `+`, not the SDKs `+`) | and add `/usr/lib/jvm/java-8-openjdk/jre/lib/ext/jfxrt.jar` (which should be there now that `java-openjfx` has been installed) | `OK` # Switch JDK Switch to the Oracle JDK. (bleh) -
androidfred revised this gist
Oct 20, 2016 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ `javafx.util.Pair` and other classes from `javafx.util` are not included in OpenJDK. Options for resolving: # Switch class `Map.Entry<K, V>` from `java.util` is similar to `javafx.util.Pair`. # Install java-openjfx Install `java-openjfx` through your package manager. (or whatever means you used to install Java on your machine) Note that `java-openjfx` is compatible with OpenJDK8, not previous versions. After installing `java-openjfx`, you may have to add it manually to your IDE SDK classpath. Eg in IntelliJ, you may have to go to `Project Structure` | `SDKs` | `<select your SDK>` | `Classpath` | `+` (the Classpath `+`, not the SDKs `+`) | and add `/usr/lib/jvm/java-8-openjdk/jre/lib/ext/jfxrt.jar` (which should be there now that java-openjfx has been installed) | `OK` -
androidfred revised this gist
Oct 20, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ `javafx.util.Pair` and other classes from javafx.util are not included in OpenJDK. Options for resolving: # Switch class `Map.Entry<K, V>` from java.util is similar to javafx.util.Pair. -
androidfred revised this gist
Oct 20, 2016 . 1 changed file with 7 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,13 +1,13 @@ javafx.util.Pair and other classes from javafx.util are not included in OpenJDK. Options for resolving: # Switch class `Map.Entry<K, V>` from java.util is similar to javafx.util.Pair. # Install java-openjfx Install `java-openjfx` through your package manager. (or whatever means you used to install Java on your machine) Note that `java-openjfx` is compatible with OpenJDK8, not previous versions. After installing `java-openjfx`, you may have to add it manually to your IDE SDK classpath. Eg in IntelliJ, you may have to go to `Project Structure` | `SDKs` | `<select your SDK>` | `Classpath` | `+` (the Classpath `+`, not the SDKs `+`) | and add `/usr/lib/jvm/java-8-openjdk/jre/lib/ext/jfxrt.jar` (which should be there now that java-openjfx has been installed) | `OK` # Switch JDK Switch to the Oracle JDK. (bleh) ## KEYWORDS How to tutorial setup openjdk openjfx classnotfoundexception javafx.util javafx.util.Pair IntelliJ IDEA compilation error doesn't compile not found -
androidfred created this gist
Oct 20, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ javafx.util.Pair and other classes from javafx.util are not included in OpenJDK. Options for resolving: SWITCH CLASS Map.Entry<K, V> from java.util is similar to javafx.util.Pair. INSTALL JAVA-OPENJFX Install java-openjfx through your package manager. (or whatever means you used to install Java on your machine) Note that java-openjfx is compatible with OpenJDK8, not previous versions. After installing java-openjfx, you may have to add it manually to your IDE SDK classpath. Eg in IntelliJ, you may have to go to Project Structure | SDKs | <select your SDK> | Classpath | + (the Classpath +, not the SDKs +) | and add /usr/lib/jvm/java-8-openjdk/jre/lib/ext/jfxrt.jar (which should be there now that java-openjfx has been installed) | OK . SWITCH JDK Switch to the Oracle JDK. (bleh) KEYWORDS How to tutorial setup openjdk openjfx classnotfoundexception javafx.util javafx.util.* javafx.util.Pair IntelliJ IDEA compilation error doesn't compile not found