Had to make some changes and rebuild it to make it run on mac os x 10.5:
java version "1.5.0_16"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-284)
Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode, sharing)
1. just changed pom.xml
Code:
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
To 1.5, not sure why it worked then, thought that was the version of that plugin not the java version..
and changed this part like this (.isEmpty() to .length()) in Connect.java
Code:
public void sendMsg(String txt) {
if (box.isSelected()) {
if (txt.length() == 0)
return;
x.sendMessageToGroup(txt, text2.getText());
text.setText("");
} else {
if (txt.length() == 0)
return;
sendMessage("<font color=\"#0000FF\">To <a href=\"cmdt" + text2.getText()
+ "\">"+text2.getText() + "</a>: </font>" + txt);
x.sendMessageToUser(txt, text2.getText());
text.setText("");
}
}
After those changes it built ok and seems to run fine..