On Mon, 2006-01-16 at 09:30 -0800, Anthony Green wrote: > On Mon, 2006-01-16 at 12:06 -0500, Thomas Fitzsimmons wrote: > > > + nargv = (char **) malloc ((argc + 2) * sizeof(char *)); > > > + nargv[0] = argv[0]; > > > + nargv[1] = "-Djava.ext.dirs=" JAVA_HOME "/jre/lib/ext:/usr/share/java-ext"; > > > > Should we still include /usr/share/java-ext? That seems incompatible > > since no proprietary JVM would include that directory. > > What is the point of /usr/share/java-ext then? JPackage scripts search in /usr/share/java-ext when they're building a classpath. But the proprietary SDKs do not add /usr/share/java-ext to their java.ext.dirs properties. I'm not sure if JPackage developers planned to do that somehow but it never happened, so I don't think we should do it in java-gcj-compat. > > BTW, there's a mistake in that patch... > > + nargv[1] = "-Djava.ext.dirs=" JAVA_HOME "/lib/ext:/usr/share/java-ext"; > > > Do we need a similar change in javac? > > Maybe, although it's less critical since the extensions I care about are > security providers. OK, we can do this later if it turns out to be necessary. Tom