help-octave
[Top][All Lists]
Advanced

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

Re: Java


From: Ian McCallion
Subject: Re: Java
Date: Thu, 21 Mar 2019 16:07:12 +0000

Hi Doug,

Yep, that was the problem. Java now works for me, and without setting
JAVA_HOME. I don't know how common it will be for Windows 10 users
(who will predominantly be 64bit) to find that 32bit java is installed
on their machine, but this page, https://www.java.com/en/download/,
did not offer me the 32bit/64bit choice and I had to navigate via the
All Java Downloads link to get the 64bit version.

It would therefore make sense if the "no java" warning that pops up
when installing Octave mentions that Octave 64bit can't work with Java
32bit.

Happy to submit a bug report if you agree.

Cheers... Ian

On Thu, 21 Mar 2019 at 15:43, Ian McCallion <address@hidden> wrote:
>
> Hi Doug,
>
> Thanks for responding. So far setting JAVA_HOME has not worked, but
> reading the bug report, maybe the problem is that I'm using 64bit
> windows and Octave, and 32bit java. I'm going to try installing 64bit
> java and will let you know how I get on.
>
> Cheers... Ian
>
> On Thu, 21 Mar 2019 at 15:21, Doug Stewart <address@hidden> wrote:
> >
> >
> >
> > On Thu, Mar 21, 2019 at 11:08 AM Ian McCallion <address@hidden> wrote:
> >>
> >> Hi,
> >>
> >> I'm on Windows 10.
> >>
> >> The Octave 5.1.0 installer warns me that java is not installed and yet
> >> version jre1.8.0_201 is in plain view on disk, and I have a java
> >> application that works. (As I recall it past Octave versions also
> >> never found java but I have not needed it so far)
> >>
> >> How does Octave determine if java is present?
> >>
> >> Cheers... Ian
> >>
> >>
> >
> > look at the following bug report guided me: 
> > http://savannah.gnu.org/bugs/?40111 .The solution is to 
> > setenv("JAVA_HOME","pathTo/Java64/bin/server");
> >
> > --
> > DAS
> >



reply via email to

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