Help coderanch get a
new server
by contributing to the fundraiser
  • 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 ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

Head First Setup Document For Windows XP

Posts: 18
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I hope this help someone else

Head First Setup Document

The code in the book does not work with SDK 1.5 so you have to download SDK1.4
Software to download
Download the J2EE RI (Reference Implementation) 1.3

Go to the DOWNLOAD button for Java 2 SDK, Enterprise Edition 1.3.1:

Install the above in c:\ j2sdkee1.3.1

Download J2EE SDK 1.4.2_15

Install the above in j2sdk1.4.2_15

Set environmental variables

Reboot your PC.
Compiling and running Running Advice Client

I got most of this from Java ranch and can�t improve on it so I will use it.

(This I am adding for those that wonder just like me)
The Windows alternative for the Unix command on page 57 in HFEJB is:
javac -classpath %CLASSPATH%;AdviceAppClient.jar;.

But the above might still not work for you!!

One that might work for you:
javac -classpath %J2EE_PATH%\lib\j2ee.jar;AdviceAppClient.jar;.

Another alternative:

The section below I found in a post by Dewang Lakhani
I would like to repeat the formulae to run AdviceCient :-

To Compile use :-
"C:\Dewang\j2EEStuff\projects\advice>javac -classpath C:\j2sdkee1.3.1\lib\j2ee.jar;C:\Dewang\j2EEStuff\projects\advice\AdviceAppClient.jar;."


TO Run use :-
"C:\Dewang\j2EEStuff\projects\advice>java -cp C:\j2sdkee1.3.1\lib\j2ee.jar;C:\Dewang\j2EEStuff\projects\advice\AdviceAppClient.jar;. AdviceClient"

I know it's not necessary to include j2ee.jar explicitly if you have it in your environment varibale. I have it set in my environment but then too i had to explicitly add it.
girl power ... turns out to be about a hundred watts. But they seriuosly don't like being connected to the grid. Tiny ad:
We need your help - Coderanch server fundraiser
    Bookmark Topic Watch Topic
  • New Topic