Wrong target version at sample worm-bots

Post Reply
BieneMaya
Posts: 4
Joined: Sat Apr 25, 2009 9:37 pm

Wrong target version at sample worm-bots

Post by BieneMaya »

Hello Hacker.org Community,

Today I tryed to run the Worms SDK. The sample Bots aren't compiled correctly.

While it is fixed you can use the workaround script below or recompile it yourself.

Code: Select all

#! /bin/bash
rm bin/WallAvoider.class
rm bin/IGotsAdd.class
javac -target 5 -d bin src/WallAvoider.java
javac -target 5 -d bin src/IGotsADD.java
NOTE: Copy it in the extracted WormSKD folder or change the given folders!
User avatar
SinistraD
Posts: 89
Joined: Sun Aug 16, 2009 8:39 am
Location: find me
Contact:

Post by SinistraD »

Thanks, this was rly helpful
Post Reply