01: /*******************************************************************************
02: * Copyright (c) 2007 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.pde.internal.core.iproduct;
11:
12: public interface IJREInfo extends IProductObject {
13:
14: public static final String JRE_LIN = "linux"; //$NON-NLS-1$
15: public static final String JRE_MAC = "macos"; //$NON-NLS-1$
16: public static final String JRE_SOL = "solaris"; //$NON-NLS-1$
17: public static final String JRE_WIN = "windows"; //$NON-NLS-1$
18:
19: public static final String JRE = "jre"; //$NON-NLS-1$
20: public static final String EE = "ee"; //$NON-NLS-1$
21:
22: public static final int TYPE_JRE = 0;
23: public static final int TYPE_EE = 1;
24:
25: public static final int LINUX = 0;
26: public static final int MACOS = 1;
27: public static final int SOLAR = 2;
28: public static final int WIN32 = 3;
29:
30: public String getJVM(int platform);
31:
32: public int getJVMType(int platform);
33:
34: public String getJVMLocation(String os);
35:
36: public void setJVM(String args, int platform, int type);
37:
38: }
|