Hi,
I have problem in tomcat installation, please someone to help me?
When I type 'emerge tomcat' I got the following message:
./org/mozilla/jss/ssl/SSLTest.java:69: as of release 1.5, 'enum' is a
keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
Enumeration enum = params.keys();
^
./org/mozilla/jss/ssl/SSLTest.java:71: as of release 1.5, 'enum' is a
keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
while (enum.hasMoreElements() ) {
^
./org/mozilla/jss/ssl/SSLTest.java:72: as of release 1.5, 'enum' is a
keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
String key = (String) enum.nextElement();
^
./org/mozilla/jss/ssl/SSLSocket.java:689: as of release 1.5, 'enum' is
a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
private int enum;
^
./org/mozilla/jss/ssl/SSLSocket.java:690: as of release 1.5, 'enum' is
a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
private CipherPolicy(int enum) { }
^
./org/mozilla/jss/ssl/SSLSocket.java:692: as of release 1.5, 'enum' is
a keyword, and may not be used as an identifier
(try -source 1.4 or lower to use 'enum' as an identifier)
int getEnum() { return enum; }
^
./org/mozilla/jss/pkcs12/SafeBag.java:120: warning: unmappable
character for encoding ASCII
* A bag containing a private key encrypted ? la PKCS #8. The bag
^
6 errors
1 warning
Command failed (1)
make: *** [buildJava] Error 2
!!! ERROR: dev-java/jss-3.4 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
jss-3.4.ebuild, line 53: Called die
The JVM version is Sun SDK 1.5.0_07.
# java -version
java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_07-b03, mixed mode)
Thank you,
Leandro.
--
[email protected] mailing list