Technical Notes
Programming and other technical stuff
Thursday, June 30, 2011
Java package cannot use java or javax as the base name
When creating a package
java.org.abacus
I got the error below:
java.lang.SecurityException: Prohibited package name: java.org.abacus
Apparently Java prohibits package names starting with
java
or
javax
.
No comments:
Post a Comment
Newer Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment