This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Help on J2EE running on Win 98 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Help on J2EE running on Win 98" Watch "Help on J2EE running on Win 98" New topic

Help on J2EE running on Win 98

David Tiger

Joined: May 25, 2001
Posts: 1
I have installed J2EE(the latest version from on Win 98. But when I want to run j2ee, j2eeadmin in DOS window, I always got "Bad command"?
What is wrong with it? I have heard that J2EE can be run on Win 98. But why I cannot run it?
Your help is highly appreciated!
Desai Sandeep
Ranch Hand

Joined: Apr 02, 2001
Posts: 1157
Check if you have configured the classpath correctly.
j2ee.bat requires you to set up the j2ee.jar file in the classpath, apart from the standard J2SDK classfiles.Check if they are in order.
If it is OK, then check, if you have included the current directory also, i.e. "." in your classpath.
Hope this helps,

Philip Nour

Joined: Jun 02, 2001
Posts: 10
Bad command is a windows output, I think your J2EE_HOME\bin directory is not in your windows path, so it can't find the batch file, fix this in your autoexec.bat file by adding the bin directory to your windows path....

Noel Castillo

Joined: Jan 03, 2001
Posts: 12
I posted a response for the bad command or file name situation, "Here's why bad command appears...(WIN98)".
I hope this helps.
I agree. Here's the link:
subject: Help on J2EE running on Win 98
It's not a secret anymore!