Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Installing J2ee in 98  RSS feed

 
v velus
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
i am new to j2ee.I install j2sdkee1.3 and jdk1.3.1_01.after that when i try to run j2ee -verbose or j2ee an error "set J2EE_HOME to the path of a valid j2sdkee. I try all the sulution given in this javaranch.com.pls,help me.
 
anup vachali
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure if u can run it on a 98 m/c.... Please check that again.
 
Horace.H
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I met the same problem before, i think maybe the j2ee server can't run in 98 platform.why not install NT or 2k?if u want to develope j2ee application,a good platform is necessary.
 
tom boshell
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was curious about a similar situation. Namely I have a W95 machine. (headaches!) But I did find this link: http://forum.java.sun.com/thread.jsp?forum=136&thread=166386
It covers how one individual got it to run.
Good luck,
Tom
 
TR McDonald
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Tom! That link is exactly what I was looking for... you answered the question before I asked it!
 
Jorge Phillips
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
j2ee.bat DOES run on windows 98. The message you are getting
"set J2EE_HOME to the path of a valid j2sdkee"
means you have to set the J2EE_HOME environment variable, which is unbound at the time you run the j2ee bat script. You can do this by adding to your c:\autoexec.bat file the line:
set J2EE_HOME=d:\j2sdkee1.2.1 (or your j2sdkee root directory)
Make sure you have the JAVA_HOME environment variable set (which you must if you are running the Java SDK). You might also find it necessary to increase the environment space when executing the %J2EE_HOME%\bin\j2ee.bat file. You can do this by right clicking on the bat file and accessing Properties>Memory. An environment size of 4096 works fine.
Recall that you must reboot after making the autoexec.bat changes so that they take effect. Once you have done this, running j2ee.bat executes it, redirects the output and error streams appropriately, and starts listening at the set port.
Your other bin scripts should run w/o problems once you set the home directories for java and j2sdkee.
[This message has been edited by Jorge Phillips (edited September 12, 2001).]
 
v velus
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Still i am not able to run j2ee.i am able to run cloudscape and deploytool. But my j2ee is not running(even 4096)environment.It will tell java 2 enterprise edition ,-verbose,-stop,-help,-version and come to dos prompt without telling any error.Thanks for help much far.
 
Jorge Phillips
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by v velus:
Still i am not able to run j2ee.i am able to run cloudscape and deploytool. But my j2ee is not running(even 4096)environment.It will tell java 2 enterprise edition ,-verbose,-stop,-help,-version and come to dos prompt without telling any error.Thanks for help much far.

Can you post your environment and the output of running j2ee.bat? Also please include your j2ee.bat file.
I am not clear whether you are thrown back to command prompt each time you run j2ee or whether you are concerned that the server just sits there doing nothing (which is exactly what it should do, as it is listening).
 
v velus
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Philips,
I am throwing back to command prompt with out any error.
 
Jorge Phillips
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok. But do you get any output from j2ee.bat? You did not provide any additional info as I requested. Difficult to help you further without it. Cheers.
Originally posted by v velus:
Hello Philips,
I am throwing back to command prompt with out any error.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!