• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

J2EE installation problem

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys,
i am using Windows ME system with only MS-Dos on it.
I installed jdk1.3.1_09 and j2sdkee1.3 in my C:\ directory
I set the environment variables as below at the command prompt:
set JAVA_HOME=C:\jdk1.3.1_09
set J2EE_HOME=C:\j2sdkee1.3
set PATH=%JAVA_HOME%\bin;%J2EE_HOME%\bin;
set CLASSPATH=.;%J2EE_HOME%\lib\j2ee.jar;
After this when i tried to compile the three files on HFEJB page-18 i'm getting 8 errors. All of which are corresponding to ejb, like package javax.ejb not found. unrecognised symbol etc.
Can anyone help what i should do inorder to get those files compiled?
Do i have to set any other environment variables? Please help me as i'm very new to software.
Thanks,
Laura(SCJP 1.4)
 
Cowgirl and Author
Posts: 1589
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Howdy, I think you meant this for the SCBCD forum, so I'll have Bert move it over there... but for now, here's all I can think to say on this:
I know that Windows ME is not a supported environment for J2EE, but apparently people do get it to run. Your environment variables look good if you were setting it on a supported windows platform, but I believe that for ME you might have to do something additional. I really don't know anything about ME, so I can't give you any other advice, but here's a link that *might* help:
getting J2EE to work on ME
good luck, and maybe someone can offer more help in the SCBCD forum or the EJB forum.
cheers,
Kathy
 
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
try this
javac -classpath %CLASSPATH%;AdviceAppClient.jar; AdviceClient.java
at page 57 the command does not work well at Windows 2k
 
Laura Bush
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Kathy for your reply,but i still cannot understand what changes i have to make to make my AdviceBean.java, AdviceHome.java and Advice.java compile.
Hi Rixin,
My problem is not with compiling the client, but much elementary stuff.(i.e. compiling the Bean, Home and Component files.)
When i'm compiling, itz not recognizing my j2ee path and hence giving me errors corresponding to ejb. I got 8 errors, all corresponding to the interfaces and variables of ejb.
Can anyone please help as i cannot proceed further without getting them compiled and run?
Thanks,
Laura(SCJP 1.4)
 
Kathy Sierra
Cowgirl and Author
Posts: 1589
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Howdy,
I don't know what environment changes you have to make on ME... was that link to the Java forums not helpful? Apparently there *is* something else you have to tweak, but I have no idea what. This is not a problem with your code, but a problem with your classpath, as you noted. Somehow the j2ee.jar files are not being seen by the compiler. Hmmmm...
Did you try running the server, to see if *that* works?
cheers,
Kathy
 
BWA HA HA HA HA HA HA! Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic