You probqbly need a higher version of java. Recommended version
is Sun java 1.6.

Michael.


On Fri, Feb 6, 2009 at 5:06 PM, Vincent Letocart
<[email protected]> wrote:
> While compiling package java-1.2.5 for octave, I got the following unexpected 
> error ( :
>
>
>        javac -source 1.3 -target 1.3 org/octave/ClassHelper.java 
> org/octave/OctClassLoader.java org/octave/Octave.java 
> org/octave/OctaveReference.java org/octave/Matrix.java
>        org/octave/ClassHelper.java:46: cannot resolve symbol
>        symbol  : method toURI ()
>        location: class java.net.URL
>                      java.io.File f = new java.io.File (urls[i].toURI ());
>                                                             ^
>        org/octave/Octave.java:67: cannot resolve symbol
>        symbol  : method remove ()
>        location: class java.util.LinkedList
>                          obj = invokeList.remove();
>                                          ^
>        org/octave/Octave.java:69: cannot resolve symbol
>        symbol  : method remove ()
>        location: class java.util.LinkedList
>                            objArgs = (Object[])invokeList.remove();
>                                                          ^
>        3 errors
>        make: *** [org/octave/ClassHelper.class] Error 1
>
>
> But I can't figure out what causes the problem :-(
>
> Has anyone a tip for that ?
>
> Thanks
>
> Vincent.
>
>
>
>
>
>
> Here extra info about the config.
>
> System
> ======
>
> Linux kronos 2.6.16.60-0.27-smp #1 SMP Mon Jul 28 12:55:32 UTC 2008 x86_64 
> x86_64 x86_64 GNU/Linux
>
> (SUSE Linux Enterprise Server 10 SP2)
>
> Octave version
> ==============
>
> GNU Octave, version 3.0.3
>
> Octave compilation summary
> ===========================
>
> Octave is now configured for x86_64-unknown-linux-gnu
>
>  Source directory:     .
>  Installation prefix:  /home/vincentl/.usr/local
>  C compiler:           icc   -Wall -W -Wshadow 
> -I/home/vincentl/.usr/local/include64 
> -I/home/vincentl/.usr/local/hdf5-1.6.5-64/include64 -O2 -openmp
>  C++ compiler:         icpc   -Wall -W -Wshadow -Wold-style-cast 
> -I/home/vincentl/.usr/local/include64 -O2 -openmp
>  Fortran compiler:     ifort -O2 -openmp
>  Fortran libraries:     -L/home/vincentl/.usr/local/lib64 
> -L/home/vincentl/.usr/local/hdf5-1.6.5-64/lib64 -L../libcruft -L/usr/lib64 
> -L../liboctave -lhdf5 -lz -L/usr -limf -lm -lmetis -liomp5 -lpthread 
> -L/opt/intel/mkl/10.0.3.020/lib/em64t -L/opt/intel/fce/10.1.017/lib 
> -L/usr/lib64/gcc/x86_64-suse-linux/4.1.2/ 
> -L/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../lib64 -lifport 
> -lifcoremt -lsvml -lipgo -lguide -lirc -lirc_s -ldl
>  BLAS libraries:       -lmkl_lapack -lmkl
>  FFTW libraries:       -lfftw3
>  GLPK libraries:       -lglpk
>  UMFPACK libraries:    -lumfpack
>  AMD libraries:        -lamd
>  CAMD libraries:       -lcamd
>  COLAMD libraries:     -lcolamd
>  CCOLAMD libraries:    -lccolamd
>  CHOLMOD libraries:    -lcholmod
>  CXSPARSE libraries:   -lcxsparse
>  HDF5 libraries:       -lhdf5
>  CURL libraries:
>  REGEX libraries:      -L/usr/lib64 -lpcre
>  QHULL libraries:      -lqhull
>  LIBS:                 -lreadline  -lncurses -ldl -lhdf5 -lz -lm -lmetis 
> -liomp5 -lpthread
>  Default pager:        less
>  gnuplot:              gnuplot
>
>  Do internal array bounds checking:  false
>  Build static libraries:             false
>  Build shared libraries:             true
>  Dynamic Linking:                    true (dlopen)
>  Include support for GNU readline:   true
>  64-bit array dims and indexing:     false
>
> The following java packages are installed
> =========================================
>
> java-1_4_2-gcj-compat-32bit-1.4.2.0-33.2
> java-1_4_2-sun-devel-1.4.2.18-0.2
> java-1_4_2-sun-1.4.2.18-0.2
> java-1_4_2-sun-plugin-1.4.2.18-0.2
> java-1_5_0-ibm-1.5.0_sr7-0.2
>
>
>
> --
> ... bacteriological warfare ... hard to believe we were once foolish
> enough to play around with that.
>                -- McCoy, "The Omega Glory", stardate unknown
>
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code to
> build responsive, highly engaging applications that combine the power of local
> resources and data with the reach of the web. Download the Adobe AIR SDK and
> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
> _______________________________________________
> Octave-dev mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/octave-dev
>

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to