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




atblock@xxxxxxxxx wrote:

Please refrain from top-posting - I find it most confusing.

I checked in AppletViewer and in a Browser and it worked...

What browser (make and version), running which Java?

There is no package name? (is that possibly the problem?)

Probably not. The problem seem to have to do with a class
in the 'java' package - so it looked as if you were trying
to load your own class declared in the 'java' package, or
trying to create one using the classloader.

You said it wouldn't work on the net. What is the URL
where I can see your applet?

Andrew T.

.



Relevant Pages

  • Re: (OT) In search of a definition
    ... primarily works under Windows XP, I am in search of a "good ... a package was NOT part of the language. ... without looking for something to formulate a hostile response from. ... use in Java is the same as its use in C or other languages. ...
    (comp.lang.cobol)
  • Re: (OT) In search of a definition
    ... a package was NOT part of the language. ... without looking for something to formulate a hostile response from. ... use in Java is the same as its use in C or other languages. ...
    (comp.lang.cobol)
  • building java rpm
    ... I am trying to build a java rpm based on the nosrc.rpm from jpackage.org ... chmod -R u+w bin CHANGES COPYRIGHT javaws lib LICENSE man plugin ... This package contains source files for %. ...
    (Fedora)
  • Re: Quirk with generics
    ... One place this has happened was when I said a Java class cannot have two methods with the same signature and different return types, Joshua Somebody accused me of being wrong, and I quoted chapter and verse from the JLS proving that Joshua was the wrong one. ... #* Creating four new source files within the package. ... #* Deleting the project, its package, and the four source files. ... #my IDE potentially disturbing the way I'd had it (current ...
    (comp.lang.java.programmer)
  • Re: Module/package hierarchy and its separation from file structure
    ... importing under different names, I meant exactly that. ... You could confuse Python adding a package root to sys.path and doing ... because in Java Monkey.java is a class. ...
    (comp.lang.python)