// Copyright 2000-2005 the Contributors, as shown in the revision logs. // Licensed under the Apache License 2.0 ("the License"). // You may not use this file except in compliance with the License. package tests; import org.ibex.nestedvm.Runtime; class Env { public static void main(String[] args) throws Exception { int n = 0; while(n < args.length && args[n].indexOf("=") != -1) n++; if(n==args.length) { System.err.println("Usage: Env [name=value ...] classname [args ...]"); System.exit(1); } String[] env = new String[n]; String[] appArgs = new String[args.length-n-1]; for(int i=0;i