Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 3dace27e324196980470d76118b91bd3202486e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

# Run java version check with the discovered java jvm.
$JAVA_HOME/bin/java \
	-classpath $CLASSPATH \
	org.eclipse.virgo.osgi.launcher.JavaVersionChecker

# If non-zero exit then either we cannot find the check or the java version is incorrect.
if [ $? != 0 ]
then
	exit 1
fi

Back to the top