Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mbe-tools
TTool
Commits
23ab282f
Commit
23ab282f
authored
May 09, 2022
by
Ludovic Apvrille
Browse files
Checking openjdk
parent
4cc669a1
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ttool/src/main/java/Main.java
View file @
23ab282f
...
...
@@ -135,11 +135,13 @@ public class Main implements ActionListener, InterpreterOutputInterface{
splashFrame
.
setMessage
(
"Checking Java version"
);
}
/*String s = Version.getFullVersion().toLowerCase();
if (s.contains("openjdk")) {
System.out.println("** WARNING: you seem to use openjdk as the Java Virtual Machine**.\n " +
"The use of openjdk is strongly discouraged since several graphical bugs have been reported");
}*/
String
s
=
System
.
getProperty
(
"java.vendor"
);
//String s = Version.getFullVersion().toLowerCase();
//System.out.println("Full version:" + s);
if
(!
s
.
contains
(
"oracle"
))
{
System
.
out
.
println
(
"** WARNING: you seem to use a Java Virtual Machine not provided by Oracle **.\n "
+
"The use of, e.g., openjdk is strongly discouraged since several graphical bugs have been reported"
);
}
// setting default language
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment