|
|
Wednesday, December 11, 2002 |
|
|
Thursday, October 03, 2002 |
|
We talked about search engines in CS211 today. Got me thinking about some other good things I should read: 7:12:02 PM |
|
|
Wednesday, September 04, 2002 |
|
Some new things in Java 1.4 I need to look into: using the split method in the String class instead of StringTokenizer or using regular expressions. 5:01:54 PM |
|
|
Monday, September 02, 2002 |
|
As I posted before, I'm struggling to get CVS (concurrent version control) to work with Forte. Forte is Sun's free integrated development enviorment. Netbeans is Forte's open source cousin. Here's an update and some info for anyone else whose stuck on a similar problem. CVS Server Stand Alone CVS Client Forte's Built-in CVS Support Here are two places I got stuck while setting things up and the solutions: 1) when adding the CVS repository in Forte, I was using a different name than the "/cvs" used in the tutorial example and forgot to include the "/". I was unable to login until I noticed the problem. CVS I'm going to review the free CVS book at redbean. Still digging. 1:13:32 PM |
|
|
Saturday, August 31, 2002 |
|
expanding jar files jar -xf foo.jar
You can create the hw0.jar file by using the following command:
The "jar" program is a utility that creates and unpacks Java archive files. The "c" option indicates that we want to create a new Java archive. The "f" option specifies that we want the Java archive to be created into the file named "hw0.jar". The remaining arguments on the command line give the names of the source files to put into the archive. One very common error is to do the following: Try typing in the following command (but don't do it if you haven't already created hw0.jar using the command above first):
What has happened here is that the Java archive file has been created and put into a file named Hello.java. This effectively has deleted your Hello.java file!. As you can see, the first parameter to the jar command is the name of the jar file, and the remaining parameters are the files to put in it. You must be very very very careful when creating your Java archive file, because if you accidentally delete one of your java files, it's impossible to get it back. Luckily, in this case we have already created a good archive in hw0.jar, so we can restore our Hello.java file simply by unpacking the archive:
More Detailed notes on using JAR 6:13:08 PM |
|
|
Friday, August 30, 2002 |
|
I'm showing my friend Kevin how radio userland works. 1:54:26 PM |
|
|
Wednesday, August 28, 2002 |