Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JNDI - can't lookup an object

 
Christian Spreiter
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I'm trying to learn JNDI and doing this tutorial

this is my code which compiles fines:

however, when I run this programm, I get an error:

I've downloaded fscontext.jar and providerutil.jar and added them to the -classpath argument when compiling Lookup.java
Since it can't find it, how can I install (or where is the folder) fscontext.jar and providerutil.jar? I'm on a mac os x 10.4 but I have no clue where to put the jar files so java can find it.

Thanks in advance
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35744
412
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"spreiter",

We're pleased to have you here with us in the EJB forum, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks,
Jeanne
Forum Bartender
 
Christian Spreiter
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh I'm sorry. Just changed it

chris
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!