Showing posts with label netbeans. Show all posts
Showing posts with label netbeans. Show all posts
Sunday, 28 June 2009
debug in Netbeans
JCAT has 3 different methods to run. I tried Debug of the JCAT code on my Netbeans 6.5 and it seems it works very slowly. As JCAT doesn't come as a netbeans project I used the free form to import it and I'm not sure if that cause the debug to be slow and whether I had in creating the project to configure something with the debugging.
Tuesday, 16 June 2009
Java version and Netbeans
This project isn't about Java, but IDE makes life easier, but it's a nightmare to configure it properly.
The jCAT requires a minimum of Java version 1.5 I tried to use the newest version which is version 6, but I got incompatible error when trying to run only the server. I made sure in the properties I change it to 1.5 and rebuild the project. This error is usually arise when using class compiled with newer Java version, perhaps it's something to do with the version of Java Ant uses as I had the problem both running within the Netbeans by right click on build.xml and select Run Target and selecting the Server or doing it from a shell (Mac) using Ant.
The jCAT requires a minimum of Java version 1.5 I tried to use the newest version which is version 6, but I got incompatible error when trying to run only the server. I made sure in the properties I change it to 1.5 and rebuild the project. This error is usually arise when using class compiled with newer Java version, perhaps it's something to do with the version of Java Ant uses as I had the problem both running within the Netbeans by right click on build.xml and select Run Target and selecting the Server or doing it from a shell (Mac) using Ant.
Thursday, 19 March 2009
NetBeans
The easy way isn't always the easiest one. The code for the CAT Tournament is written in Java though one can write a client to communicate with the Tournament organisers server using CATP protocol (protocol written to talk with their server). It means if I decide to write a client in any other technology, but Java I have to write from scratch everything as a client already exist in Java and I just need to plug it into new libraries I will write that make the decisions.
These days almost everyone uses IDE to develop and as I have not much experience in Java I decided to go with NetBeans. First time I download the software was a couple of months ago and only today I feel that I'm confident enough to use it (still not mastering NetBeans) and this is after I have to work on a different project to build Plagiarism detection system and I used NetBeans.
Over a month ago I've already managed to run the code of jCat on NetBeans, but a few days ago wanted to use the Ant script to run separately the Market Client from running the whole package and realised that as I didn't use the free form to import the project NetBeans uses its own build script.
The new 6.5.1 version I upgraded to today have funny selection menu so spent a while to realise I define the Classpath only to the Source Packages and not also to the Test Packages, which gave me these annoying error messages all over.
These days almost everyone uses IDE to develop and as I have not much experience in Java I decided to go with NetBeans. First time I download the software was a couple of months ago and only today I feel that I'm confident enough to use it (still not mastering NetBeans) and this is after I have to work on a different project to build Plagiarism detection system and I used NetBeans.
Over a month ago I've already managed to run the code of jCat on NetBeans, but a few days ago wanted to use the Ant script to run separately the Market Client from running the whole package and realised that as I didn't use the free form to import the project NetBeans uses its own build script.
The new 6.5.1 version I upgraded to today have funny selection menu so spent a while to realise I define the Classpath only to the Source Packages and not also to the Test Packages, which gave me these annoying error messages all over.
Subscribe to:
Posts (Atom)