Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

problem with j2sdkee1.3.1  RSS feed

 
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using Win XP and jsdk 1.4.2 and j2sdk1.3.1 and having trouble running the server. Even with setting all path correctly, still when I use
j2ee -verbose it tells me that It cannot recognized the command.
Any idea?
Appreciate that.
 
Ranch Hand
Posts: 1066
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used to get a warning when using JDK1.4 and J2EE 1.3 Sun's RI.
So I am now using JDK1.3 with J2EE1.3, Sun's RI. I am able to do the Sun's tutorial fine.
 
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using jsdk 1.4.2 on linux w/ 1.3 j2ee, works fine.
is your <j2ee dir>\bin part of your PATH environment variable?
Type "path" in windows prompt and see if the the j2ee bin is part of your path.
[ December 01, 2003: Message edited by: Edward Tse ]
 
Sean Hetfield
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
D:\j2sdkee1.3.1\bin is in my path, still doesn't work.
Thnaks
Another SCJP
 
Ed Tse
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
then go to D:\j2sdkee1.3.1\bin and see if j2ee is there, if it's there, type j2ee in that path.
 
Sean Hetfield
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have done that too, but on Win XP and jsdk 1.4.2 just doesn't work.
On Win 2000 and jsdk 1.3.1 it works.
???
Thanks
 
Ed Tse
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is <jsdk dir>/bin in your path?
is JAVA_HOME set to point to your jsdk 1.4.2?
 
Sean Hetfield
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes it is.
 
Ranch Hand
Posts: 277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sean,
What happens when you navigate to D:\j2sdkee1.3.1\bin and enter the command j2ee -verbose? Do you get an error message? If so, what does it say?
There is a strong possiblity that it is not compatable with Widows XP. I had problems with my Windows 98 machine so I switched to my Windows 2000 machine.
Good luck,
Keith Rosenfield
SCJP
SCWCD
 
Sean Hetfield
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Keith,
You solve my other problem.
But about this one the message says:
'D:\program' is not recognizedas an internal or external command, operable program or batch file.
Even if I go to the bin Dir and do this again I'm getting the same message.
But in Win 2000 and j2sdk 1.3.1 I have no problem.
???
Sean
 
Keith Rosenfield
Ranch Hand
Posts: 277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sean,
I guess it's not compatable with XP
Keith
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Keith Rosenfield:
Sean,
I guess it's not compatable with XP
Keith



Hi - I'm using Win XP (no service packs installed), JDK 1.4.2_02 (build 1.4.2_02-b03 mixed mode), J2EE 1.3.1 (build 1.3.1-b17) and (so far) no problems starting up and running the server from anywhere.
Env vars set:
JAVA_HOME c:\j2sdk1.4.2_02
J2EE_HOME c:\j2dkee1.3.1
CLASSPATH c:\j2sdkee1.3.1\lib\j2ee.jar
PATH c:\j2sdk1.4.2_02\bin;c:\j2dkee1.3.1\bin
HTH,
JT
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!