joel cordonnier wrote:
> jdk1.2.2 on Linux red hat 6.1
>
> i'm a new jboss user.
> I try to build the source distribution of jboss.
>
> I have add and 'eclude' statement in the build.xml
> file to
> exclude compilation of package jrmp13/... with the
> statement **/jrmp13/**.
>
> but i still have problem with
> C:\Programs\jboss\src\main\org\jboss\Main.java:165:
> Method
> addShutdownHook(org.jboss.Main.2) not found in class
> java.lang.Runtime.
>
> Runtime.getRuntime().addShutdownHook(new Thread()
>
> Does anyone solve this problem ?
>
> If yes, is there problem to shutdown jboss whith this
> modification ?
This stuff is JDK 1.3 specific. We don't really support building on JDK
1.2.2. However, this particular piece should be refactored since it's
the only piece, currently, that is not easily avoidable when compiling
on JDK 1.2.2.
Remove the code manually in org.jboss.Main before compiling. Best answer
I can give you so far.
/Rickard
--
Rickard �berg
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]