Java Virtual Machine issues

  • Follow


Hello, 

I have MatLab 7.10 running on Ubuntu 10.04.  I'm receiving the following warning when using print:

" In /usr/local/matlab/toolbox/compiler/mcr/matlab/graphics/hardcopy.p>hardcopy at 21
  In graphics/private/render at 143
  In print at 291
  In detect19 at 389
Warning: This functionality is no longer supported under the -nojvm startup
option. For more information, see "Changes to -nojvm Startup Option" in the
MATLAB Release Notes. To view the release note in your system browser, run
web('http://www.mathworks.com/access/helpdesk/help/techdoc/rn/bropbi9-1.html#brubkzc-1',
'-browser') "

I am not using the -nojvm startup option why is this showing up?  The graphics are saved just fine. I did find out how to suppress the warning but I'd like to know why it's there.

When trying to use the Zip functionality I get the following error:
??? Error using ==> checkFilesDirInputs at 24
Function ZIP requires Java.
Error in ==> parseArchiveInputs at 39
Error in ==> zip at 46
Error in ==> detect19 at 647

MATLAB:zip:NoJvm

 version('-java') gives me the following:
ans =  Java 1.6.0_12-b04 with Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode

Is this some kind of permissions or path settings problem?

Thanks in advance for any help.
0
Reply Jon 5/28/2010 8:19:04 AM

I suppose I should add that I'm getting these messages when running the compiled program using mcc -m.  I haven't tried it non-compiled.

"Jon " <anti_pope.remove.this@hotmail.com> wrote in message <htnu9o$q1e$1@fred.mathworks.com>...
> Hello, 
> 
> I have MatLab 7.10 running on Ubuntu 10.04.  I'm receiving the following warning when using print:
> 
> " In /usr/local/matlab/toolbox/compiler/mcr/matlab/graphics/hardcopy.p>hardcopy at 21
>   In graphics/private/render at 143
>   In print at 291
>   In detect19 at 389
> Warning: This functionality is no longer supported under the -nojvm startup
> option. For more information, see "Changes to -nojvm Startup Option" in the
> MATLAB Release Notes. To view the release note in your system browser, run
> web('http://www.mathworks.com/access/helpdesk/help/techdoc/rn/bropbi9-1.html#brubkzc-1',
> '-browser') "
> 
> I am not using the -nojvm startup option why is this showing up?  The graphics are saved just fine. I did find out how to suppress the warning but I'd like to know why it's there.
> 
> When trying to use the Zip functionality I get the following error:
> ??? Error using ==> checkFilesDirInputs at 24
> Function ZIP requires Java.
> Error in ==> parseArchiveInputs at 39
> Error in ==> zip at 46
> Error in ==> detect19 at 647
> 
> MATLAB:zip:NoJvm
> 
>  version('-java') gives me the following:
> ans =  Java 1.6.0_12-b04 with Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode
> 
> Is this some kind of permissions or path settings problem?
> 
> Thanks in advance for any help.
0
Reply Jon 5/28/2010 8:59:07 AM


Now I'm getting this too:

??? Error using ==> matlabpool>iVerifyJava at 379
matlabpool is not supported because Java is not currently available.

Error in ==> matlabpool at 92
Error in ==> detectparallel at 76
MATLAB:javachk:featureNotAvailable

Why is java not available? I haven't been able to find anything about these problems online.

"Jon " <anti_pope.remove.this@hotmail.com> wrote in message <htnu9o$q1e$1@fred.mathworks.com>...
> Hello, 
> 
> I have MatLab 7.10 running on Ubuntu 10.04.  I'm receiving the following warning when using print:
> 
> " In /usr/local/matlab/toolbox/compiler/mcr/matlab/graphics/hardcopy.p>hardcopy at 21
>   In graphics/private/render at 143
>   In print at 291
>   In detect19 at 389
> Warning: This functionality is no longer supported under the -nojvm startup
> option. For more information, see "Changes to -nojvm Startup Option" in the
> MATLAB Release Notes. To view the release note in your system browser, run
> web('http://www.mathworks.com/access/helpdesk/help/techdoc/rn/bropbi9-1.html#brubkzc-1',
> '-browser') "
> 
> I am not using the -nojvm startup option why is this showing up?  The graphics are saved just fine. I did find out how to suppress the warning but I'd like to know why it's there.
> 
> When trying to use the Zip functionality I get the following error:
> ??? Error using ==> checkFilesDirInputs at 24
> Function ZIP requires Java.
> Error in ==> parseArchiveInputs at 39
> Error in ==> zip at 46
> Error in ==> detect19 at 647
> 
> MATLAB:zip:NoJvm
> 
>  version('-java') gives me the following:
> ans =  Java 1.6.0_12-b04 with Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode
> 
> Is this some kind of permissions or path settings problem?
> 
> Thanks in advance for any help.
0
Reply Jon 5/30/2010 6:21:02 AM

Oh, man I feel rather lame. I only had to follow the directions. Namely this part for testing compiled functions:

Linux x86-64

setenv LD_LIBRARY_PATH 
   matlabroot/runtime/glnxa64: 
   matlabroot/bin/glnxa64: 
   matlabroot/sys/os/glnxa64: 
   matlabroot/sys/java/jre/glnxa64/jre/lib/amd64/native_threads: 
   matlabroot/sys/java/jre/glnxa64/jre/lib/amd64/server: 
   matlabroot/sys/java/jre/glnxa64/jre/lib/amd64: 
setenv XAPPLRESDIR matlabroot/X11/app-defaults 



"Jon " <anti_pope.remove.this@hotmail.com> wrote in message <htnu9o$q1e$1@fred.mathworks.com>...
> Hello, 
> 
> I have MatLab 7.10 running on Ubuntu 10.04.  I'm receiving the following warning when using print:
> 
> " In /usr/local/matlab/toolbox/compiler/mcr/matlab/graphics/hardcopy.p>hardcopy at 21
>   In graphics/private/render at 143
>   In print at 291
>   In detect19 at 389
> Warning: This functionality is no longer supported under the -nojvm startup
> option. For more information, see "Changes to -nojvm Startup Option" in the
> MATLAB Release Notes. To view the release note in your system browser, run
> web('http://www.mathworks.com/access/helpdesk/help/techdoc/rn/bropbi9-1.html#brubkzc-1',
> '-browser') "
> 
> I am not using the -nojvm startup option why is this showing up?  The graphics are saved just fine. I did find out how to suppress the warning but I'd like to know why it's there.
> 
> When trying to use the Zip functionality I get the following error:
> ??? Error using ==> checkFilesDirInputs at 24
> Function ZIP requires Java.
> Error in ==> parseArchiveInputs at 39
> Error in ==> zip at 46
> Error in ==> detect19 at 647
> 
> MATLAB:zip:NoJvm
> 
>  version('-java') gives me the following:
> ans =  Java 1.6.0_12-b04 with Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode
> 
> Is this some kind of permissions or path settings problem?
> 
> Thanks in advance for any help.
0
Reply Jon 5/30/2010 7:57:14 AM

3 Replies
401 Views

(page loaded in 0.07 seconds)

Similiar Articles:













7/22/2012 5:14:56 AM


Reply: