-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.2.0
-
None
-
x86
-
windows_nt
Illegal access violation when trying to run AWT/Swing apps
on Windows Terminal Server.
The submitter writes:
We have users who use Microsoft Windows
Terminal server to login and get basic office applications. We are
currently trying to develop java applications to run in this
environment.
What I have determined so far is this. A java application not dealing
with GUI components appears to run fine in the WTS environment. A GUI
application will compile fine, and at runtime before any graphics are
displayed will perform an illegal access violation. What I have
discovered is the font manager appears to at least be a problem. I can
remove code that deals with the graphics such as setSize and the next
line of code dealing with the GUI presentation will cause the problem.
I have enclosed a wordpad document with embedded bitmaps, set.txt list
environment variables, MainFrame.java sample application.
I tried the -Djava.compiler=NONE. It did not change the problem I am
having. I can compile with no problems. I cannot use jdb or java or the
distributed jre to run the application.
Jdb will also perform an illegal instruction and I have not pursued
this.
I am aware of Bug Id 4193603. I don't know if this is the same
problem or not.
The files mentioned above (set.txt, Bitmaps.zip, and MainFrame.java)
have been added to this bug report as attachments.
on Windows Terminal Server.
The submitter writes:
We have users who use Microsoft Windows
Terminal server to login and get basic office applications. We are
currently trying to develop java applications to run in this
environment.
What I have determined so far is this. A java application not dealing
with GUI components appears to run fine in the WTS environment. A GUI
application will compile fine, and at runtime before any graphics are
displayed will perform an illegal access violation. What I have
discovered is the font manager appears to at least be a problem. I can
remove code that deals with the graphics such as setSize and the next
line of code dealing with the GUI presentation will cause the problem.
I have enclosed a wordpad document with embedded bitmaps, set.txt list
environment variables, MainFrame.java sample application.
I tried the -Djava.compiler=NONE. It did not change the problem I am
having. I can compile with no problems. I cannot use jdb or java or the
distributed jre to run the application.
Jdb will also perform an illegal instruction and I have not pursued
this.
I am aware of Bug Id 4193603. I don't know if this is the same
problem or not.
The files mentioned above (set.txt, Bitmaps.zip, and MainFrame.java)
have been added to this bug report as attachments.
- duplicates
-
JDK-4193603 java performs illegal operation on Hydra (Windows Terminal Server)
-
- Resolved
-