JDK 1.5 - new keyword enum

I have problems using Java 1.5.

I use an external jar-file that contains a package named 'enum'. Trying to use classes of this package by adding the statement

import com.microsoft.word.enum.*;

leads to a compile-error.

The problem is, that no sources for this package are available and that nobody feels the urge to maintain it anymore - but it works well for me as it is.

Is there any solution to use this jar file anyway (beside sticking to 1.4.2_05)?

thx for any help

peter

[529 byte] By [ptagesen] at [2007-9-30 18:56:15]
# 1
You could compile with a different source compatiblity if you don't use the new features of J2SE 5.0: specify "javac -source 1.4" when compiling.
Herko_ter_Horst at 2007-7-6 21:14:54 > top of Java-index,Administration Tools,Sun Connection...