KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > pde > internal > core > iproduct > IJREInfo


1 /*******************************************************************************
2  * Copyright (c) 2007 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.pde.internal.core.iproduct;
12
13 public interface IJREInfo extends IProductObject {
14     
15     public static final String JavaDoc JRE_LIN = "linux"; //$NON-NLS-1$
16
public static final String JavaDoc JRE_MAC = "macos"; //$NON-NLS-1$
17
public static final String JavaDoc JRE_SOL = "solaris"; //$NON-NLS-1$
18
public static final String JavaDoc JRE_WIN = "windows"; //$NON-NLS-1$
19

20     public static final String JavaDoc JRE = "jre"; //$NON-NLS-1$
21
public static final String JavaDoc EE = "ee"; //$NON-NLS-1$
22

23     public static final int TYPE_JRE = 0;
24     public static final int TYPE_EE = 1;
25     
26     public static final int LINUX = 0;
27     public static final int MACOS = 1;
28     public static final int SOLAR = 2;
29     public static final int WIN32 = 3;
30     
31     public String JavaDoc getJVM(int platform);
32     public int getJVMType(int platform);
33     public String JavaDoc getJVMLocation(String JavaDoc os);
34     public void setJVM(String JavaDoc args, int platform, int type);
35     
36 }
37
Popular Tags