summary refs log tree commit diff
path: root/gnu/packages/java.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-12-17 17:20:16 +0100
committerRicardo Wurmus <rekado@elephly.net>2021-12-23 20:27:45 +0100
commitabbe291fc29d4da78a9b80e0c7e0fa1ada361228 (patch)
treed97cad43fcb07883e899ffef6fcc5334523505f1 /gnu/packages/java.scm
parent3287c7c781f8f1ede59094c8429ccfdd2fd7670b (diff)
downloadguix-abbe291fc29d4da78a9b80e0c7e0fa1ada361228.tar.gz
gnu: ecj-javac-wrapper: Remove rt.jar from classpath.
* gnu/packages/java.scm (ecj-javac-wrapper)[arguments]: Do not add jamvm's
rt.jar to the classpath.
Diffstat (limited to 'gnu/packages/java.scm')
-rw-r--r--gnu/packages/java.scm5
1 files changed, 1 insertions, 4 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 4bef9612c7..e9647f9aa8 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -544,10 +544,7 @@ requirement for all GNU Classpath releases after version 0.93.")
                         (define (main args)
                           (let ((classpath (getenv "CLASSPATH")))
                             (setenv "CLASSPATH"
-                                    (string-join (list ,ecj
-                                                       ,(string-append (assoc-ref %build-inputs "jamvm")
-                                                                       "/lib/rt.jar")
-                                                       (or classpath ""))
+                                    (string-join (list ,ecj (or classpath ""))
                                                  ":")))
                           (receive (vm-args other-args)
                               ;; Separate VM arguments from arguments to ECJ.