Re: java.lang.SecurityException: Prohibited package name: java




I checked in AppletViewer and in a Browser and it worked...
There is no package name? (is that possibly the problem?)
Andrew Thompson wrote:
atblock@xxxxxxxxx wrote:
I created an applet which just attaches an extended TransferHandler to
a gui and it worked fine on my computer...

In AppletViewer? Or in a browser?

Online however I got this error: java.lang.SecurityException:
Prohibited package name: java
...
I signed the applet with keytool and jarsigner and it still happened...

Some things cannot be 'fixed' (as being allowable) simply
by signing the applet. A browser, for example, will *always*
throw an exception if you attempt to exit the VM.

BTW - what package(s) are your classes in?

Andrew T.

.



Relevant Pages

  • Re: Question on browseUnimplemented
    ... I selected the latest port of Swazoo (in my dev image - not the exe browser), selected the Swazoo package - and I ran a #browseUnimplemented as described. ... Is it some missing prerequsitie - but then this is a method in your Dolphin package so the pre-reqs can't be wrong? ... The Package system should be fully stripped from a deployed app, but obviously it has to be part of the base system to facilitate the loading/unloading of packages, so it is manually stripped, and thus gets included in the base system when considering unimplemented messages based purely on the package dependency graph. ... In a minimal deployed app such as the Console Hello World there should only be one unimplemented message. ...
    (comp.lang.smalltalk.dolphin)
  • Re: A web-based frontend to apt (or, configuring a new pseudo-protocol)
    ... >is configuring a browser to accept some kind of pseudo-protocol such as ... I've just browser through ... >apt-get or aptitude or similar to install the package, ...
    (Debian-User)
  • SuSE Security Announcement: sysconfig (SuSE-SA:2002:016)
    ... DHCP server by the dhcpcd DHCP client. ... DHCP should update their sysconfig package. ... The mozilla browser in version 0.9.7 or higher and the netscape browser ...
    (Bugtraq)
  • Re: Opening instruments with appletviewer vs. browser
    ... when running it with appletviewer, but none when using a browser. ... over Java versioning. ... Windows) make the sound by using a MIDI port for the sound. ...
    (comp.lang.java.help)
  • Re: servlet problems with session attributes
    ... If you then go back in the browser and execute the search again you will end ... // Import the servlet classes ... package core.beans; ...
    (comp.lang.java.programmer)