• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Configuring J2EE

Benjoe Reyes
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this thread is a spin off from Amanda Weber's topic installing J2EE, so I could get notified thru my e-mail.
i have seen Chris' referal to Simon Brown's article on J2EE. does those settings:
set JAVA_HOME=c:\j2sdk1.4.1
set J2EE_HOME=c:\j2sdkee1.3.1
would enable me to import J2EE classes? or should i also set:
set J2EE_CLASSPATH=C:\j2sdkee1.3.1\bin
sun's direction says:
. Editing the user configuration script is a required step during the installation procedure. the user configuration script on Windows is in bin\userconfig.bat.
and that userconfig.bat file contains settings for JAVA_HOME and J2EE_CLASSPATH only & no setting for J2EE_HOME.
also in CattleDrive, it says to set the CLASSPATH to J2EE.jar. setting the CLASPATH would disable the compiler to see classes in the current working directory right?
i mean, when i compile a file with no package, the class file is saved in the same directory and if that file extends or use in composition another class whose class file is also in the same diretory, there is no need to import. setting CLASSPATH disables this somehow. it only looks for classes in the directory where packages are stored.
so what should i really do?
thanks in advance...
merry christmas!!!
[ December 23, 2002: Message edited by: Benjoe Reyes ]
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic