zaterdag 25 september 2010

Run Java applications command line

These are the steps to run Java programs in the command line in Windows.

1. Check if you have installed the JDK. Run cmd.exe and type java, if there are no values coming out then you should install JDK: http://www.oracle.com/technetwork/java/javase/downloads/jdk6-jsp-136632.html

2. Get the address of the installed JDK, usually it's in the program files folder:
C:\Program Files\Java\jdk1.6.0_21

3. Copy this address and open Environment Variables.
Windows 7:
Configuration Panel, System and Security, System, Advanced System Settings, Environment Variables.
Edit System variable Path, paste at the beginning in the field variable value the path of JDK and then ends with semilicon ;
C:\Program Files\Java\jdk1.6.0_21\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\

4. Restart the computer and go to your Java files, type javac *.java to compile all the Java files in that directory. Then type java filename to run the Java file.

From now on you can run Java programs via the command line.

vrijdag 24 september 2010

Movie: The Barbie Diaries


















I really wanted to see this one, because of the mysterious diary. But it turns out to be so-so not really meeting with my expectations. Things indeed come true but it was quite blurring. Also the fact that she wanted to become popular by becoming friends with her "opponents" is weak. I also think it's strange to see she ends up with Kevin her closest male friend, because she has not shown any fondness towards him to us. The fact she finally chooses him over Todd, because she realized it was Kevin who left her the notes is not reasonable... because she always liked Todd... and has never shown likeness towards Kevin.

But this is a child story, so no need to think that deeply, I watched it for my English :)

Movie: Toy Story 2


















After watching Toy Story 1 and 3 I think I should also watch Toy Story 2. The reason why I first watched 3 is because there are many download links, as for 2 there is rare, so I couldn't find links to download that time so I decided to watch 3 because that is available.

I'm so happy that I can see this one, comparing to 3 I think 3 is better but this one is not bad too. Also the introducing of Jessie and the horse is in this one. I remember indeed Jessie and the horse in movie 3, so now I know where they come from :)

zondag 19 september 2010

Movie: Shrek Forever After


















I love this movie too, it's a pity that it's the last chapter. This one is also adventurous. The dancing of Shrek and Fiona was so random but funny.
This story learns us to be satisfied with what you have right now, because it can turns out worse.

zaterdag 11 september 2010

Movie: Toy Story 3


















I like this one, very adventurous. There is so much happening, it wasn't boring and I can't stop watching it.
Barbie and Ken are also very cute together. :) Lotso is so mean!! Oh I hate him so much, they saved him and in return he betrayed them!!! It was so touching to see the toys holding each others hands when they thought they will be burned into flames...Funny to see Buzz and Jessie are together, I thought Woody and Jessie will be together, as both are cow (cowboy and cowgirl). It's good to see Woody has not be taken to college finally, but stayed with the other toys. That can be another new toy story.

zondag 5 september 2010

Movie: Skellig The Owl Man


















Thought that this one might be good, judging from the title and the poster, nice, fantasy movie.
After watching it I don't think it's worthy to watch, the plot is not strong and straightforward.
The owl man has healing powers, which is great. It's nice to see he healed the baby sister of Michael.

I recognize the mother of Michael is the actress who acted in the movie Nanny McPhee. It's always nice to recognize actors or actresses.