because . is probably already in your classpath on windows, but not on solaris.
Main Topics
Browse All TopicsHi There,
i've been compiling some code on windows java 1.5 and then on solaris with java 1.4 and i'm having some issues which i need education on. I am compiling two class, both of which are in the same package but are in different files. The first class CheckMappingStore needs to be compiled first, and on both servers compiles ok. The second file Check compiles ok in a windows environment, but on the solaris environrmnent it fails as it cannot find CheckMappingStore.
Why the difference between the servers, and what do i ned to do to solve them?
Windows:
C:\classes>javac hall\CheckMappingStore.jav
C:\classes>javac hall\Check.java
Solaris:
bash-2.05b$ javac hall/CheckMappingStore.jav
bash-2.05b$ javac hall/Check.java
hall/Check.java:275: cannot resolve symbol
symbol : class CheckMappingStore
location: class hall.Check
CheckMappingStore Mapping = new CheckMappingStore();
^
halll/Check.java:275: cannot resolve symbol
symbol : class CheckMappingStore
location: class hall.Check
CheckMappingStore Mapping = new CheckMappingStore();
^
2 errors
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: WebstormPosted on 2005-04-12 at 09:21:13ID: 13764098
try:
a
bash-2.05b$ javac -classpath . hall/CheckMappingStore.jav
bash-2.05b$ javac -classpath . hall/Check.java