|
|
Java errors under Windows 7 R2007a
Hello all,
I post this before, but unfortunately, I did not get any help. I have an com deployment project. It works under WinXP using R2007a. But on Windows 7 am getting many Java errors. I have the latest Java (1.6.0-22) and I modified the jre file to be the latest as recommend by Arindam. But the Java errors persist! There must be an explanation why Matlab Java is not interacting with Windows 7 properly and a simple solution. Those who know great deal of Java and Matlab please help.
Java errors:
-----------------------------------------------------
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.mathworks.mlwidgets.html.WebRenderer.scrollToBottom(WebRenderer.java:804)
at com.mathworks.mlwidgets.html.HTMLRenderer.scrollToBottom(HTMLRenderer.java:1383)
at com.mathworks.toolbox.compiler.OutputWindow.display(OutputWindow.java:152)
at com.mathworks.toolbox.compiler.ProjectMgrActions.display(ProjectMgrActions.java:81).....................
|
|
0
|
|
|
|
Reply
|
Cem
|
11/8/2010 7:14:05 PM |
|
01st Method
This will work for , both 32 bits and 64 bits windows 7, follow these steps.
First you must go to the Matlab icon, right click and go to Properties.
Then click the Compatibility tab and select “Windows 2000” from the drop down in the Compatibility group. Click “OK” and you are done.
02nd Method.
You must change Windows 7 Theme to the classic one (windows classic).now install matlab and it will work properly
To use Matlab with other windows 7 themes you have to change java used by matlab as followings
Download latest java version and install it.
Go to C:\Program Files\MATLAB\R2007a\sys\java\jre\win32 you will find a file named jer1.5.0_07 rename it to Original_jer1.5.0_07
Go to C:\Program Files\Java you will find file named jet6 (jetX for Xversion) copie it to C:\Program Files\MATLAB\R2007a\sys\java\jre\win32 and rename it to jer1.5.0_07
Now you can use matlab with all themes.Enjoy Matlab 7 in windows 7
Regards,
Dharshana, Efac,University of Ruhuna
Sri Lanka
|
|
0
|
|
|
|
Reply
|
Dimuthu
|
11/28/2010 9:05:09 AM
|
|
Hello Dimithu,
A long while ago you helped me with my java related problem. I need your help again since I am having a similar problem with R2007a and Windows 7. If I use teh original version of Java Matlab does not work I immediately get a Java error. But if I use the recent version of Java (6-23) then Matlab works under Windows 7. But I cannot compile a m-file to make a dll. As soon as I try to compile I get the following Java errors. This happens even if I run the Matlab as Win XP, Windows 2000 or Windows 7. I am going crazy since this whole thing works under Win XP installation. Could you please help. Thank you.
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.mathworks.mlwidgets.html.WebRenderer.scrollToBottom(WebRenderer.java:804)
at com.mathworks.mlwidgets.html.HTMLRenderer.scrollToBottom(HTMLRenderer.java:1383)
at com.mathworks.toolbox.compiler.OutputWindow.display(OutputWindow.java:152)
at com.mathworks.toolbox.compiler.ProjectMgrActions.display(ProjectMgrActions.java:81)
at com.mathworks.toolbox.compiler.ProjectMgrActions$BuildPrjAction.actionPerformed(ProjectMgrActions.java:571)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at com.mathworks.mwswing.MJButton.processMouseEvent(MJButton.java:283)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
>>
Dimuthu Dharshana <dimuthummee@gmail.com> wrote in message <1664461435.17574.1290953139605.JavaMail.root@gallium.mathforum.org>...
> 01st Method
>
> This will work for , both 32 bits and 64 bits windows 7, follow these steps.
>
> First you must go to the Matlab icon, right click and go to Properties.
>
> Then click the Compatibility tab and select “Windows 2000” from the drop down in the Compatibility group. Click “OK” and you are done.
>
> 02nd Method.
>
> You must change Windows 7 Theme to the classic one (windows classic).now install matlab and it will work properly
>
> To use Matlab with other windows 7 themes you have to change java used by matlab as followings
>
> Download latest java version and install it.
>
> Go to C:\Program Files\MATLAB\R2007a\sys\java\jre\win32 you will find a file named jer1.5.0_07 rename it to Original_jer1.5.0_07
>
> Go to C:\Program Files\Java you will find file named jet6 (jetX for Xversion) copie it to C:\Program Files\MATLAB\R2007a\sys\java\jre\win32 and rename it to jer1.5.0_07
>
> Now you can use matlab with all themes.Enjoy Matlab 7 in windows 7
>
> Regards,
> Dharshana, Efac,University of Ruhuna
> Sri Lanka
|
|
0
|
|
|
|
Reply
|
Cem
|
12/27/2010 6:04:06 PM
|
|
|
2 Replies
752 Views
(page loaded in 0.044 seconds)
Similiar Articles: Java errors under Windows 7 R2007a - comp.soft-sys.matlab ...Hello all, I post this before, but unfortunately, I did not get any help. I have an com deployment project. It works under WinXP using R2007a.... Run Matlab R2007a on windows 7 - comp.soft-sys.matlabJava errors under Windows 7 R2007a - comp.soft-sys.matlab ... I cannot run Matlab 7.1 properly - comp.soft-sys.matlab Java errors under Windows 7 R2007a - comp.soft-sys ... Windows 7 Home Premium vs. Windows 7 Professional (using MATLAB ...Matlab 7.1 on window 7 - comp.soft-sys.matlab Java errors under Windows 7 R2007a - comp.soft-sys.matlab ... Matlab 7.1 on ... Windows 7 Home Premium vs. Windows 7 ... Matlab GUI issues with R2007a - comp.soft-sys.matlabRuntime Icons - comp.databases.filemaker Displaying Images - comp.lang.java.gui I've ... Java errors under Windows 7 R2007a - comp.soft-sys.matlab ... ... I cannot run Matlab 7.1 properly - comp.soft-sys.matlabJava errors under Windows 7 R2007a - comp.soft-sys.matlab ... I cannot run Matlab 7.1 properly - comp.soft-sys.matlab Java errors under Windows 7 R2007a - comp.soft-sys ... Error using actxserver on windows 7 - comp.soft-sys.matlab ...Java errors under Windows 7 R2007a - comp.soft-sys.matlab ... It works under WinXP using R2007a. But on Windows 7 am getting many Java errors. ... Error using actxserver ... Matlab 7.1 on window 7 - comp.soft-sys.matlabMatlab 7.1 on window 7 - comp.soft-sys.matlab Java errors under Windows 7 R2007a - comp.soft-sys.matlab ... Hello all, I post this before, but unfortunately, I did not get ... Cannot install Matlab 2007a on Windows 7 - comp.soft-sys.matlab ...Java errors under Windows 7 R2007a - comp.soft-sys.matlab ... Cannot install Matlab 2007a on Windows 7 - comp.soft-sys.matlab ... Java errors under Windows 7 R2007a - comp ... Error starting matlab on windows 7 - comp.soft-sys.matlab ...Java errors under Windows 7 R2007a - comp.soft-sys.matlab ... I cannot run Matlab 7.1 properly - comp.soft-sys.matlab I cannot run Matlab 7.1 properly - comp.soft-sys ... Matlab runtime compilation error - comp.soft-sys.matlabJava errors under Windows 7 R2007a - comp.soft-sys.matlab ... But I cannot compile a m-file to make a dll. As soon as I try to compile I get ... I cannot run Matlab 7 ... Java errors under Windows 7 R2007a - Newsreader - MATLAB CentralHello all, I post this before, but unfortunately, I did not get any help. I have an com deployment project. It works under WinXP using R2007a. Java errors under Windows 7 R2007aHello all, I post this before, but unfortunately, I did not get any help. I have an com deployment project. It works under WinXP using R2007a. 7/20/2012 8:06:22 AM
|
|
|
|
|
|
|
|
|