Groups | Search | Server Info | Login | Register


Groups > comp.sources.d > #94

Running Java program without qualifying with package name

Newsgroups comp.sources.d
Date 2017-02-15 15:05 -0800
Message-ID <03f3b89f-cdb2-43d1-a37d-3749afbd7703@googlegroups.com> (permalink)
Subject Running Java program without qualifying with package name
From nimmi_srivastav@post.com

Show all headers | View raw


Hello,

I am cros-posting with Stack Overflow (http://stackoverflow.com/questions/42261552/running-java-program-without-qualifying-with-package-name).

I want to know whether there is a way to run a Java class, which is defined in a package, without giving the package name prefix (by, say, setting the classpath to the appropriate value)? The only way that I am able to run the class is by prefixing the complete package name to the classname.

There are some good suggestions at StackOverflow.  Hopefully there will be some ideas provided here as well.

Regards,
NS 

Back to comp.sources.d | Previous | Next | Find similar


Thread

Running Java program without qualifying with package name nimmi_srivastav@post.com - 2017-02-15 15:05 -0800

csiph-web