git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-629 Move more stdout messages to stderr when outputting file to stdout
[jalview.git]
/
src
/
jalview
/
util
/
LaunchUtils.java
diff --git
a/src/jalview/util/LaunchUtils.java
b/src/jalview/util/LaunchUtils.java
index
5bd4a08
..
eb43363
100644
(file)
--- a/
src/jalview/util/LaunchUtils.java
+++ b/
src/jalview/util/LaunchUtils.java
@@
-29,6
+29,8
@@
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Properties;
import java.net.URL;
import java.util.Properties;
+import jalview.bin.Console;
+
public class LaunchUtils
{
public class LaunchUtils
{
@@
-103,7
+105,7
@@
public class LaunchUtils
null);
if (JCV == null)
{
null);
if (JCV == null)
{
- System.out.println(
+ Console.outputMessage(
"Could not obtain JAVA_COMPILE_VERSION for comparison");
return -2;
}
"Could not obtain JAVA_COMPILE_VERSION for comparison");
return -2;
}
@@
-142,7
+144,8
@@
public class LaunchUtils
String JV = System.getProperty("java.version");
if (JV == null)
{
String JV = System.getProperty("java.version");
if (JV == null)
{
- System.out.println("Could not obtain java.version for comparison");
+ Console.outputMessage(
+ "Could not obtain java.version for comparison");
return -2;
}
if (JV.startsWith("1."))
return -2;
}
if (JV.startsWith("1."))
@@
-174,7
+177,7
@@
public class LaunchUtils
if (java_compile_version <= 0 || java_version <= 0)
{
if (java_compile_version <= 0 || java_version <= 0)
{
- System.out.println("Could not make Java version check");
+ Console.outputMessage("Could not make Java version check");
return true;
}
// Warn if these java.version and JAVA_COMPILE_VERSION conditions exist
return true;
}
// Warn if these java.version and JAVA_COMPILE_VERSION conditions exist