commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] [bugs #11870] gjdoc configure failes to detect java with my


From: Thomas Zander
Subject: [commit-cp] [bugs #11870] gjdoc configure failes to detect java with my classpath
Date: Sun, 6 Feb 2005 10:16:48 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/3.3; Linux) KHTML/3.3.91 (like Gecko)

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11870>

                 Summary: gjdoc configure failes to detect java with my
classpath
                 Project: classpath
            Submitted by: zander
            Submitted on: Sun 02/06/2005 at 10:16
                Category: gjdoc
                Severity: 5 - Average
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
        Platform Version: None

    _______________________________________________________

Details:

My configure attempt failed to find any Java and after some investigation it
turned out that this was called:



java Test



Since I don't have my system-wide-classpath set to find classes in the
current dir; this can't work.  I would think many people have a setup like
this.



I altered the configure script to do this:

- if { ac_try='$JAVA $JAVAFLAGS $TEST'

+ if { ac_try='CLASSPATH=.:$CLASSPATH $JAVA $JAVAFLAGS $TEST'



which makes it correctly run the test class.






    _______________________________________________________

This item URL is:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11870>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]