I have compiled a client application into a *.class file that runs fine. However, it produced the following error when I tried to run it as a *.jar file :
[java] NamingException : Need to specify class name in environment or system property, or as an applet para meter, or in an application resource file: java.naming.factory.initial
I understand that the jndi.properties file has something to do with this. I have included the path to the jndi.properties file in my classpath when I do the run. Is there something else that I missed out ? Does the manifest file need to be modified ?