Løsning for å rette feilmeldingene som hadde dukket opp i Eclipse for Sip-communicator oppsettingen og kompilering:

Etter å ha fått feil som forårsaket erstatning av .Projekt-filen i directory , har jeg prøvd å konfigurere Run og Debug gjennom Eclipse om igjen. Deretter kjørte jeg Ant gjennom Eclipse ved å velge Ant view fra (Window→Show view→Ant), og brukte "drag-and-drop” av build.xml filen.

Så kjørte jeg ”ant rebuild” før jeg kjører prosjektet gjennom Eclipse/Run for å kompilere.

Jeg har fått følgende nye feilmeldinger:

[javac] BUILD FAILED: [build file location]

Unable to find a javac compiler;

com.sun.tools.javac.Main is not on the classpath.

Perhaps JAVA_HOME does not point to the JDK

Så prøvde jeg føsrt å reinstallere JDK fra:

http://java.sun.com/javase/downloads/index.jsp

Så redigerte min build path.

Har slettet ant-library og lagt til en ny entry for den forrige lokasjon av ant-library.

 “Add Variable”, extend “ECLIPSE_HOME” and search the ant library. 

Vanligvis den er ECLIPSE_HOME/plugins/org.apache.ant_1.6.5/lib/ant.jar

Jeg har altså prøvd å slette ant-library og erstatte manuelt fra Plugins.

Deretter prøvde å gjøre min Classpath peke til min JDK bin.

Følgte denne instroksjonen som løste problemet til slutt:

• Go to Window > Preferences > Ant > Runtime. Choose the Classpath tab. Select the Global Properties node in the tree and click Add External JARs. Select tools.jar from your JDK directory.

• Go to Window > Preferences > Java > Installed JREs. Double click your JRE and deselect “Use default system libraries”. Click Add External JARs and add the location of tools.jar to that classpath. Make sure you are using the SDK and not the JRE.

Master's Program

Are you interested in a Master's Degree in Informatics with focus on Security and Mobility (I:SIM)? Just follow the link and you get details of our activities in the areas Mobility and Networking, Information Security, and Signal Processing.

Lectures

Lectures starting in January 2009 are