Skip to content

Commit

Permalink
Added java 1.7 to accepted jvms when launching Bioclipse
Browse files Browse the repository at this point in the history
This should probably not be hard coded like this. But it will probably be cleand up in the move to E4
  • Loading branch information
goglepox committed Aug 30, 2012
1 parent 99fc5e4 commit 278c74d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/net.bioclipse.ui/src/net/bioclipse/ui/Activator.java
Expand Up @@ -167,7 +167,8 @@ private void handleStartupArgs() {
private void checkJVMVersion() {

if (!(System.getProperty("java.version").startsWith("1.5")) &&
!(System.getProperty("java.version").startsWith("1.6"))) {
!(System.getProperty("java.version").startsWith("1.6")) &&
!(System.getProperty("java.version").startsWith("1.7"))) {
System.err.println(JVM_VERSION_ERROR_MSG);
// FIXME you should normally never call this from a plugin
System.exit(0);
Expand Down

0 comments on commit 278c74d

Please sign in to comment.