Re: Java version



wow you saved my life- i was going CRAZY!!!

I am fairly new to linux so I did not know about 'alias'.
Indeed matlab had an alias and it was "export
MATLAB_JAVA=THE OLD ONE!!'

Thanks again!

David

"David Doria" <daviddoria@xxxxxxxxx> wrote in message
<fdjonm$anm$1@xxxxxxxxxxxxxxxxxx>...
I am running Ubuntu 7.04. If I run ./matlab from
/usr/local/bin, everything works great

If I run

matlab

it complains about :

Warning: Cannot locate Java Runtime Environment (JRE) . . .

1. Either a correct JRE was not available for
redistribution when
this release was shipped, in which case you
should refer to the
Release Notes for additional information about
how to get it.

2. Or you have tried to use the MATLAB_JAVA
environment variable
to specify an alternate JRE, but MATLAB cannot
find it. Please
run 'matlab -n' to determine what value you are
using for
MATLAB_JAVA and fix accordingly.


HOWEVER

there are no directories on my path before /usr/local/bin
that contain a file "matlab". I have uninstalled and
reinstalled java for literally a week and it still wont work.

Any suggestions?

David

.



Relevant Pages

  • Re: Java version
    ... Everytime I start matlab, it puts the alias back!! ... Either a correct JRE was not available for ...
    (comp.soft-sys.matlab)
  • Re: Matlab on MacIntels?
    ... but in the Terminal window. ... you may need to adjust the path to MATLAB if your MATLAB is in a ... then you can make an alias for the ... I have a problem running Matlab on my new machine. ...
    (comp.soft-sys.matlab)
  • Re: Text between PCs via serial connection
    ... the other (Windows) machine I have HyperTerminal running. ... "Hello World" from MATLAB on the Linux machine, ... Try running minicom on the Linux box first, ...
    (comp.os.linux.development.system)
  • Re: is there a way to print the Matlab .m source code file with all subroutines?
    ... If you're not in linux, I suggest learning the Perl ... man enscript, windows: MS Word/Open office Writer), then print. ... perhaps an easier way is to find all the Matlab files under one directory and print them out... ...
    (comp.soft-sys.matlab)
  • Re: Matlab 7.4 OSX
    ... I am trying to decide how well the Matlab interface on OS ... been using Matlab under linux on a network of machines in my old lab. ... I am starting a new project where we are thinking of getting a Mac ... possible with x11, but I haven't tried. ...
    (comp.soft-sys.matlab)