yes there's a bit of java in my nvim config why do you ask?
This commit is contained in:
parent
ad76983d96
commit
c489d39369
104 changed files with 2058 additions and 2796 deletions
13
extras/JavaVersion.java
Normal file
13
extras/JavaVersion.java
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
/*
|
||||
* JavaVersion returns the version of java interpreter running it. Inspired by
|
||||
* "libraries/javacheck/JavaCheck.java" in PrismLauncher.
|
||||
*/
|
||||
public final class JavaVersion {
|
||||
public static void main(String[] args) {
|
||||
String p = System.getProperty("java.version");
|
||||
if (p != null)
|
||||
System.out.println(p);
|
||||
else
|
||||
System.exit(1);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue