Index: jde-compile.el
===================================================================
RCS file: /pack/anoncvs/jde/lisp/jde-compile.el,v
retrieving revision 1.63
diff -r1.63 jde-compile.el
430a431,443
> (defcustom jde-jikes-system-classpath "-bootclasspath"
> "*Specify the method used to supply system classes to the jikes
> executable.  These classes are normally directly available to javac,
> but jikes requires them to be explicitly specified.  The rt.jar
> provided by the currently selected JDK will be added using either
> -bootclasspath or -classpath, depending on your selection here."
>   :group 'jde-compile-options
>   :type  '(radio-button-choice 
>             :format "%t \n%v"
>             :tag "Compiler option used to specify system classes to jikes:"
>             (const "-bootclasspath")
>             (const "-classpath")))
> 
1028c1041,1042
<     (if (file-exists-p rt)
---
>     (if (and (file-exists-p rt)
>              (string= jde-jikes-system-classpath "-classpath"))
1035a1050,1064
>     classpath))
> 
> (defmethod jde-compile-bootclasspath-arg ((this jde-compile-jikes))
>   "Returns the bootclasspath argument for this compiler."
>   (let ((classpath (call-next-method))
>         (rt        (expand-file-name "jre/lib/rt.jar" (jde-get-jdk-dir))))
>     (if (and (file-exists-p rt)
>              (string= jde-jikes-system-classpath "-bootclasspath"))
>         (if classpath
> 	    (or (string-match "jre/lib/rt\.jar" (cadr classpath))
> 		(setcar (cdr classpath)
> 			(concat (cadr classpath)
> 				jde-classpath-separator
> 				rt)))
> 	  (setq classpath (list "-bootclasspath" rt))))
