troubleshooting Question

Problems setting classpath

Avatar of dpalyca755
dpalyca755 asked on
Java
7 Comments1 Solution430 ViewsLast Modified:
How do I set the CLASSPATH environment variable for building java code inside a makefile?
I am working on a solaris UNIX system.

Normally would export CLASSPATH=.:example.jar:example2.jar
and simply build locally.

I need to build with a makefile though now.
simply doing a
CLASSPATH=.:example.jar:example2.jar
in the makefile doesn't seem to work.

Any ideas?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 7 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros