Hi Philip,

No offense taken, I have tried the symbolic link option and still had 
problems.

The "hard path" is how one learns -:)

On a more serious note, I am actually working on Finite Element problems 
with huge amounts of data to manipulate, I was looking for the benefits 
that one can obtain from the optimized libraries (BLAS and LAPACK) and 
that is why I look to Intel. I use the Intel compilers on a daily basis.

You also said yourself that Octave 3.4. is a better option than 3.2

As far as Ubuntu is concerned, I have no control.....

Perhaps I got confused with the JDK installation that is also required. 
If the JRE part of JAVA can't be found how will the JDK part be found? 
It is good and well to use the default for the JRE, but what about the JDK?

I am sorry, I have never worked in JAVA before, so everything is new to me.

Regards



On 12/07/2011 22:43, Philip Nienhuis wrote:
> Steph Bredenhann wrote:
>>   Hi Philip
>>
>> I have now compiled Octave 3.4.2 (not with with Intel but using Intel
>> optimized libraries) and I am back on track, except for my friend Java.
>> Please see below.
>>
>> octave:12> javaaddpath('/usr/lib/java/xerces-2_11_0/xercesImpl.jar')
>> warning: timestamp on file
>> /usr/lib/jvm/default-java/jre/lib/amd64/client/libjvm.so is in the 
>> future
>> error: java_invoke:
>> /usr/lib/jvm/default-java/jre/lib/amd64/client/libjvm.so: failed to
>> load: /usr/lib/jvm/default-java/jre/lib/amd64/client/libjvm.so: cannot
>> open shared object file: No such file or directory
>> error: called from:
>> error: /usr/local/share/octave/packages/java-1.2.8/javaaddpath.m at line
>> 41, column 13
>> octave:12>
>>
>> I have installed SUN-java 6, both JRE and JDK. How do I get JAVA to
>> rather see:
>>
>> /usr/lib/jvm/java-6-sun/jre/lib/amd64/server/libjvm.so
>>
>> instead of seeing:
>>
>> /usr/lib/jvm/default-java/jre/lib/amd64/client/libjvm.so
>
> To be honest, that is a bit beyond me.
> To change that, you'd have to dive into the java package sources. 
> Somewhere in there may exist a "hard-coded" link from the JVM to the 
> jre/lib/<arch>/client subdir.
>
> As the latest java package release is up-to-date as regards svn (AFAIK 
> there haven't been any commits since 1.2.8 release) you can just 
> download the package, unzip/tar and start hacking around.
>
> I've done the same thing when I hit limitations I couldn't overcome.
>
> The package maintainer, Michael Goffioul, may help out. It may help to 
> change the subject to include "Java" to draw his attention.
> And uhm, now that we're talking about subject lines, I think the 
> thread subject line may need update anyway as it seems to be hijacked 
> from a thread I started > 1.5 years ago and that I supposed to be dead 
> for > 1.4 yrs... :-)
>
>
> In an earlier post on July 9, see
>   http://sourceforge.net/mailarchive/message.php?msg_id=27773565
> I suggested to just use Octave-3.2.4 & java pkg & io pkg from the 
> Ubuntu repositories, download the io-1.0.14 pkg, and copy all the .m 
> files in the unpacked io-1.0.14 ./inst directory over the ones in the 
> repository version.
> After all, I have developed those scripts with (a.o.) Octave-3.2.4, so 
> they'll work for sure.
>
> Obviously I implicitly supposed that Ubuntu has delivered a "working" 
> Java pkg (JRE) for Octave-3.2.4. If so, you would have saved yourself 
> the trouble of building Octave and octave-forge packages, as the 
> Ubuntu maintainers would have done that for you.
>
> >
> > We have discussed the symbolic link before, but can't one change the
> > default?
>
> (Sorry nothing personal, but this provokes counter-questions by me:)
> Why do you insist on going the hard way?
> Did you even try the symbolic link solution at all? Martin Helm has 
> done so successfully (he described it in a post you've come up with 
> yourself). If all you're after is simple ODS support you might have 
> obtained it in an easier way.
>
> I can also think the other way round: why has Ubuntu decided to supply 
> a libjvm.so in the server rather than in the client libs? AFAIK that 
> is the way Java is supposed to be set up.
> (But I may be wrong)
>
>
> Philip

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to