Lines 1-5
Link Here
|
1 |
/****************************************************************************** |
1 |
/****************************************************************************** |
2 |
* Copyright (c) 2010 Oracle |
2 |
* Copyright (c) 2010, 2014 Oracle |
3 |
* All rights reserved. This program and the accompanying materials |
3 |
* All rights reserved. This program and the accompanying materials |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
5 |
* which accompanies this distribution, and is available at |
5 |
* which accompanies this distribution, and is available at |
Lines 34-39
Link Here
|
34 |
public static final IRuntimeComponentVersion VERSION_1_5 = TYPE.getVersion( "1.5" ); //$NON-NLS-1$ |
34 |
public static final IRuntimeComponentVersion VERSION_1_5 = TYPE.getVersion( "1.5" ); //$NON-NLS-1$ |
35 |
public static final IRuntimeComponentVersion VERSION_1_6 = TYPE.getVersion( "1.6" ); //$NON-NLS-1$ |
35 |
public static final IRuntimeComponentVersion VERSION_1_6 = TYPE.getVersion( "1.6" ); //$NON-NLS-1$ |
36 |
public static final IRuntimeComponentVersion VERSION_1_7 = TYPE.getVersion( "1.7" ); //$NON-NLS-1$ |
36 |
public static final IRuntimeComponentVersion VERSION_1_7 = TYPE.getVersion( "1.7" ); //$NON-NLS-1$ |
|
|
37 |
public static final IRuntimeComponentVersion VERSION_1_8 = TYPE.getVersion( "1.8" ); //$NON-NLS-1$ |
37 |
|
38 |
|
38 |
@Deprecated |
39 |
@Deprecated |
39 |
public static final IRuntimeComponentVersion VERSION_5_0 = VERSION_1_5; |
40 |
public static final IRuntimeComponentVersion VERSION_5_0 = VERSION_1_5; |
Lines 80-88
Link Here
|
80 |
{ |
81 |
{ |
81 |
rcv = StandardJreRuntimeComponent.VERSION_1_7; |
82 |
rcv = StandardJreRuntimeComponent.VERSION_1_7; |
82 |
} |
83 |
} |
|
|
84 |
else if( jvmver.startsWith( "1.8" ) ) //$NON-NLS-1$ |
85 |
{ |
86 |
rcv = StandardJreRuntimeComponent.VERSION_1_8; |
87 |
} |
83 |
else |
88 |
else |
84 |
{ |
89 |
{ |
85 |
rcv = StandardJreRuntimeComponent.VERSION_1_7; |
90 |
rcv = StandardJreRuntimeComponent.VERSION_1_8; |
86 |
} |
91 |
} |
87 |
|
92 |
|
88 |
final Map<String,String> properties = new HashMap<String,String>(); |
93 |
final Map<String,String> properties = new HashMap<String,String>(); |