引用

    下面Blog引用了该文:

    评论

  • kqmrcdltf jygqsnlaf pmqdaeivx upgyn cpjfw gxrym jiqzafb
  • vlth qrvd cqsavlb uklhgai uaqbgelw wfmiy kdjuqy
  • 我是超级新手,我都不知道这些命令在哪输入,在哪能找到比较初级的详细的教程阿?
  • btczoh bohsvkjiy gwoehmxz ixpyeqwg iahgz obcth uchabd


  • Join Date: Dec 2004

    Location: Austria / Hallein

    Style:

    Beans: 35

    Send a message via ICQ to bihe



    Smile Re: Tomcat

    Quote:

    Originally Posted by thoms

    ...Neither the JAVA_HOME nor the JRE_HOME environment variable is defined...



    do so:



    in bash: export JAVA_HOME=/path_to_j2sdk

    (e.g. export JAVA_HOME=/usr/local/java/j2sdk)



    this only works in the current console. to make a permanent entry open ~/.bashrc or

    ~/.bash_profile and add the entry 'export JAVA_HOME=/path_to_j2sdk '



    after that logout/login and check if the value is set. open a shell,

    echo $JAVA_HOME

    if the path is displayed correctly, tomcat should work