Jul 132010
 

Time to get hands dirty in Java mud ๐Ÿ˜€

Lots of projects here are Java based, plus something like Struts, Spring, Hibernate, etc.ย I don’ t like the structure much but I have to understand how to get things done, or at least I need to be able to read those codes and configurations (I hate so many configuration files in Java world).

I was trying to setup Eclipse with Struts2 and Tomcat, I was so amazed by memory management in Java VM, want to know my impression? In one world, MESS. >:) After dealing with this and that kind of all sort of “MaxXXXSize” configuration directives (or command line parameters), I finally figured out “-XX:MaxNewSize=128m” and “-XX:MaxPermSize=128m” are two of the most important parameter to make Eclipse stop reporting “PermGen Space” error.

Thinking of setting up such an IDE really takes time, I was thinking maybe I should go back to my vim time …

BTW, people here developing software on local machine (I mean desktop), Java is cute in this case – write once and run everywhere.

  One Response to “Start from scratch – Java”

  1. Finally I made my first “Hello World” works by following steps from here:

    http://java.dzone.com/articles/struts2-tutorial-part-27

    I’m going to post a Chinese version somewhere.

Sorry, the comment form is closed at this time.