Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

j2sdkee1.3 beta , how to run .... , win98  RSS feed

 
ray bond
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello there,
I have downloaded j2sdkee1.3 beta version from sun's site and installed it on windows 98 --> in autoexec.bat file i set
java_home=c:\jdk1.3 , j2ee_home=c:\j2sdkee1.3 and also set the path and classpath for j2sdkee1.3 , but in command prompt when I type "j2ee -verbose" it displays "Bad command or file name" , and also for "cloudscape -start" it displays same , do I have to include environment variable in other files as well , does this beta version work with windows 98 ,
thanks
 
Philip Nour
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
This is simple and has nothing to do with J2EE or cloudscape, you only need to put the bin directory of J2EE in your path so it is accessable from anywhere, or you have to be inside the directory when you issue any of the two commands, which are in fact two batch files.
It is easier if you just added " C:\j2sdkee1.3\bin " to your path in your autoexec file.
Hope that helped....
------------------
Philip
 
ray bond
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have already set the path and included "c:\j2sdkee1.3\bin" in the path , also I tried to run "j2ee -verbose" from "c:\j2sdkee1.3\bin" from command prompt , but still it is giving "Bad command or filename" error , even if I enter "j2ee.bat" there it is giving same error , event j2ee.bat is there , what is could be the problem ,has anyone been to this??
thanks
 
Philip Nour
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi..
Pretty strange, however, the only thing I can think of is that your java.exe itself is not in the windows path, if this is NOT the problem, you might wanna trace the batch file (use echos) to see where you get the bad command thing... this is a windows output so it should be something around this not something with java apps....
Philip
 
steven minnerly
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe I'm missing something obvious but isn't j2ee 1.3 beta only for windows nt and windows 2000 professional? Will is still run on windows 98 too?
steve
 
Noel Castillo
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by steven minnerly:
Maybe I'm missing something obvious but isn't j2ee 1.3 beta only for windows nt and windows 2000 professional? Will is still run on windows 98 too?
steve

Steve,
With some modifications, J2EE1.3 will run under windows98/95. What SUN is claiming is that Windows98/95 is not a supported OS platform for J2EE1.3, meaning - if you choose these platforms, you are on your own as far as problems/bugs are concerned.
Ray,
I posted a response for the bad command or file name situation, "Here's why bad command appears...(WIN98)".
I hope this helps.
~Noel
 
ray bond
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for your replies ,I commented out lines which has 2 '=',substitued all the variables accordingly, but still its not working , i modified j2ee.bat and setenv.bat file according to the sloution in the link given , i also substituted %javacmd% variable in all the files of %j2ee_home%\bin directory , but now when i run "j2ee -verbose" , first it gives me "out of environment space" and than it displays "Bad command or file name" , I have set environment space for the all .bat file to maximum but still it is giving same errors ,when I run "cloudscape -start" , it is giving "Bad command or file name" error , can anybody solve this ??
thanks
 
steven minnerly
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To Noel Castillio or anyone that knows
You said that j2ee 1.3 will run on win 98 with some modifications. Do you happen to know what those modificatins are
or where they can be found. Thanks.
Steve
 
Noel Castillo
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have added a post showing my .bat files in "Here's why bad command appears...(WIN98)". I recommend for you to try it out on your machine and see if it works. I cannot help much if I don't see your settings and the echoed DOS command line.
~Noel
[This message has been edited by Noel Castillo (edited June 05, 2001).]
 
Nishith Prabhakar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am facing exactly the same problem running J2EE on Win98 ...
solved the following few problem after reading Noel's post :
1) Out of environment space is because the memory limit for the DOS window is less and cannot hold so many environment variables. This should be changed to another higher value (i made it 8192). refer http://support.microsoft.com/support/kb/articles/Q230/2/05.ASP
2) The other problem was because Win98 does not support the "=" while setting the environment variables. Thus it gives a syntax error when the setenv.bat file is run. This file is called by the j2ee.bat and the cloudscape.bat files. So unless this problem is solved - it gives either a syntax error or a Bad command as the proper variables are not set. refer to this comprehensive post from Noel http://www.javaranch.com/ubb/Forum11/HTML/000956.html
Now my problem ... the above method works to the extent that the bad command error is gone ... but unfortunately it gives an exception ... its an exception from Java ...
Problem 1
---------
How do i find wht the exception is ... coz the window scrolls ... any clues as to how to get the information which has scrolled up...
Problem 2
---------
Probably the exception is because i removed the %Listen_options% variable as suggested by Noel. Any idea what this problem is about ...
Thanks a lot in advance ...
in a rush to find out everything about this topic ...
 
dfg df
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by ray bond:
hello there,
I have downloaded j2sdkee1.3 beta version from sun's site and installed it on windows 98 --> in autoexec.bat file i set
java_home=c:\jdk1.3 , j2ee_home=c:\j2sdkee1.3 and also set the path and classpath for j2sdkee1.3 , but in command prompt when I type "j2ee -verbose" it displays "Bad command or file name" , and also for "cloudscape -start" it displays same , do I have to include environment variable in other files as well , does this beta version work with windows 98 ,
thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!