Thread View: aus.computers.java
6 messages
6 total messages
Started by geelong
Tue, 08 Jan 2002 05:07
URGENT HELP PLEASE!
Author: geelong
Date: Tue, 08 Jan 2002 05:07
Date: Tue, 08 Jan 2002 05:07
78 lines
4366 bytes
4366 bytes
I'm running a java app that causes a water effect on a jpg. it works fine ONLINE and even on the loca network, but when viewed on a CD, I get a gray box. This is the excerpt from the java console. Please please please... does anyone have any idea... -joel joel@dhimaging.com.au http://gtgee.brinkster.net/main.html (but once again, it works fine online) *************************************************************** com.ms.security.SecurityExceptionEx[AnWater.b]: cannot access file /D:/graphics/1.jpg at com/ms/security/permissions/FileIOPermission.check at com/ms/security/PolicyEngine.deepCheck at com/ms/security/PolicyEngine.checkPermission at com/ms/security/StandardSecurityManager.chk at com/ms/security/StandardSecurityManager.checkRead at java/io/File.isDirectory at sun/net/www/protocol/file/FileURLConnection.connect at sun/net/www/protocol/file/FileURLConnection.getInputStream at com/ms/vm/loader/ResourceLoader.getURLData at com/ms/vm/loader/ResourceLoader.getCodebaseRelativeData at com/ms/vm/loader/ResourceLoader.getCodebaseRelativeData at com/ms/vm/loader/ResourceLoader.getResourceAsStream at com/ms/vm/loader/URLClassLoader.getResourceAsStream at java/lang/Class.getResourceAsStream at AnWater.b at AnWater.a at AnWater.init at com/ms/applet/AppletPanel.securedCall0 at com/ms/applet/AppletPanel.securedCall at com/ms/applet/AppletPanel.processSentEvent at com/ms/applet/AppletPanel.processSentEvent at com/ms/applet/AppletPanel.run at java/lang/Thread.run com.ms.security.SecurityExceptionEx[AnWater.b]: cannot access file /D:/graphics/1.jpg at com/ms/security/permissions/FileIOPermission.check at com/ms/security/PolicyEngine.deepCheck at com/ms/security/PolicyEngine.checkPermission at com/ms/security/StandardSecurityManager.chk at com/ms/security/StandardSecurityManager.checkRead at com/ms/security/StandardSecurityManager.checkRead at com/ms/awt/WToolkit.getImageFromHash at com/ms/awt/WToolkit.getImage at AnWater.b at AnWater.a at AnWater.init at com/ms/applet/AppletPanel.securedCall0 at com/ms/applet/AppletPanel.securedCall at com/ms/applet/AppletPanel.processSentEvent at com/ms/applet/AppletPanel.processSentEvent at com/ms/applet/AppletPanel.run at java/lang/Thread.run com.ms.security.SecurityExceptionEx[AnWater.b]: cannot access file /D:/graphics/1.jpg at com/ms/security/permissions/FileIOPermission.check at com/ms/security/PolicyEngine.deepCheck at com/ms/security/PolicyEngine.checkPermission at com/ms/security/StandardSecurityManager.chk at com/ms/security/StandardSecurityManager.checkRead at com/ms/security/StandardSecurityManager.checkRead at com/ms/awt/WToolkit.getImageFromHash at com/ms/awt/WToolkit.getImage at AnWater.b at AnWater.a at AnWater.init at com/ms/applet/AppletPanel.securedCall0 at com/ms/applet/AppletPanel.securedCall at com/ms/applet/AppletPanel.processSentEvent at com/ms/applet/AppletPanel.processSentEvent at com/ms/applet/AppletPanel.run at java/lang/Thread.run
Re: URGENT HELP PLEASE!
Author: Paul Murray
Date: Mon, 07 Jan 2002 20:24
Date: Mon, 07 Jan 2002 20:24
18 lines
2057 bytes
2057 bytes
> it works fine ONLINE and even on the loca network, but when viewed on a CD, > I get a gray box. This is the excerpt from the java console. > com.ms.security.SecurityExceptionEx[AnWater.b]: cannot access file > /D:/graphics/1.jpg Are you opening the underlying file in read/write mode? This won't work on a CD. __________________________________________________ Spot the difference! Jer 48:10 A curse on him who is lax in doing the Lord's work! A curse on him who keeps his sword from bloodshed! Mk 16:16 He that believeth and is baptized shall be saved; but he that believeth not shall be damned. Quran 2 And kill them wherever you find them, ... if they do fight you, then slay them; such is the recompense of the unbelievers. http://www.users.bigpond.com/pmurray .
Re: URGENT HELP PLEASE!
Author: Tom Davies
Date: Tue, 08 Jan 2002 08:14
Date: Tue, 08 Jan 2002 08:14
16 lines
1682 bytes
1682 bytes
geelong wrote: > I'm running a java app that causes a water effect on a jpg. > > it works fine ONLINE and even on the loca network, but when viewed on a CD, > I get a gray box. This is the excerpt from the java console. > > Please please please... does anyone have any idea... Applets run in a sandbox, and are not allowed to read the local disk. You can try putting the jpg in the same jar as the Applet, or signing the jar. Tom
Re: URGENT HELP PLEASE!
Author: dhi
Date: Tue, 08 Jan 2002 11:03
Date: Tue, 08 Jan 2002 11:03
34 lines
2151 bytes
2151 bytes
Tom, this is a commercial app... I do not have access to the source code. Is there a way to register the app? I do not know much about java. Thank you... -joel "Tom Davies" <tomdavies@optushome.com.au> wrote in message news:3C3AAA5D.9050303@optushome.com.au... > geelong wrote: > > > I'm running a java app that causes a water effect on a jpg. > > > > it works fine ONLINE and even on the loca network, but when viewed on a CD, > > I get a gray box. This is the excerpt from the java console. > > > > Please please please... does anyone have any idea... > > > Applets run in a sandbox, and are not allowed to read the local disk. > > You can try putting the jpg in the same jar as the Applet, or signing > the jar. > > Tom > > >
Re: URGENT HELP PLEASE!
Author: Tom Davies
Date: Tue, 08 Jan 2002 14:47
Date: Tue, 08 Jan 2002 14:47
39 lines
2213 bytes
2213 bytes
dhi wrote: > "Tom Davies" <tomdavies@optushome.com.au> wrote in message > news:3C3AAA5D.9050303@optushome.com.au... > >>geelong wrote: >> >> >>>I'm running a java app that causes a water effect on a jpg. >>> >>>it works fine ONLINE and even on the loca network, but when viewed on a >>> > CD, > >>>I get a gray box. This is the excerpt from the java console. >>> >>>Please please please... does anyone have any idea... >>> >> >>Applets run in a sandbox, and are not allowed to read the local disk. >> >>You can try putting the jpg in the same jar as the Applet, or signing >>the jar. >> > Tom, > > this is a commercial app... I do not have access to the source code. > Is there a way to register the app? I do not know much about java. I'm not sure what you mean by 'register'? I think putting the jpg in the jar file would be the simplest thing to try first. Tom
Re: URGENT HELP PLEASE!
Author: dhi
Date: Tue, 08 Jan 2002 23:23
Date: Tue, 08 Jan 2002 23:23
54 lines
2765 bytes
2765 bytes
signing... signing the jar.... thanks "Tom Davies" <tomdavies@optushome.com.au> wrote in message news:3C3B0684.1050407@optushome.com.au... > dhi wrote: > > > > "Tom Davies" <tomdavies@optushome.com.au> wrote in message > > news:3C3AAA5D.9050303@optushome.com.au... > > > >>geelong wrote: > >> > >> > >>>I'm running a java app that causes a water effect on a jpg. > >>> > >>>it works fine ONLINE and even on the loca network, but when viewed on a > >>> > > CD, > > > >>>I get a gray box. This is the excerpt from the java console. > >>> > >>>Please please please... does anyone have any idea... > >>> > >> > >>Applets run in a sandbox, and are not allowed to read the local disk. > >> > >>You can try putting the jpg in the same jar as the Applet, or signing > >>the jar. > >> > > Tom, > > > > this is a commercial app... I do not have access to the source code. > > Is there a way to register the app? I do not know much about java. > > > I'm not sure what you mean by 'register'? > > > > I think putting the jpg in the jar file would be the simplest thing to > try first. > > Tom > > > > > >
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads