Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / February 2006

Tip: Looking for answers? Try searching our database.

Compiling Problem - Very Odd

Thread view: 
traviswinter@gmail.com - 13 Feb 2006 20:15 GMT
I'm practically new to Java, doing my second Java related course in
University so please bear with me.  I have installed the jdk on my comp
at home, which is running Windows XP Home SP2.  I am the only one that
uses the computer so there is only the one administrator account.  I
have set java's bin folder up in the Path Environment Variable and
everything works peachy.  No problems at all.  We have been doing basic
stuff like making a BankAccount class (called BankAccount.java) and a
tester class (called BankAccountTester.java).  Everything compiles fine
and runs smoothly.  The same thing for when I work on assignments that
use 2 or more classes that reference each other in the university
computer labs.  The problem arises when I do it on what seems to be
every other computer.  At work, I use a public computer (Windows XP)
that is set up on a network with Windows Server 2003.  I log into an
account with administrator privaleges and attempt to compile the
BankAccount and the BankAccountTester classes and I get an error in the
Tester class that says "Symbol "BankAccount" not found".  BankAccount
has compiled fine however.  Both are in one folder with no other files
in the folder.  The Path variable is set up the exact same as the one
on my home computer so I can't see a problem with that.  My only guess
is that the fact that I am on an account on a network, maybe there are
path problems.  This would be fine, however the same thing happens on
my girlfriends computer.  Her brother used java before he moved out (he
had version 1.4).  I update their jdk to 1.5 and then tried to compile
the same way.  Same "Symbol not found" error.  Same path config as my
computer and yet no relief.  I would appreciate if anyone could help me
as I like to do homework at work/at her house :)

Travis
Roedy Green - 13 Feb 2006 22:14 GMT
> I log into an
>account with administrator privaleges and attempt to compile the
>BankAccount and the BankAccountTester classes and I get an error in the
>Tester class that says "Symbol "BankAccount" not found".  BankAccount
>has compiled fine however.

I gather you have your CLASSPATH and JAVA_HOME set up correctly at
home, but not on these other machines.

See http://mindprod.com/jgloss/jdk.html
on how to finish of the install. The installer does not complete the
job.
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

traviswinter@gmail.com - 13 Feb 2006 22:33 GMT
Hey, on my home computer.  Found neither CLASSPATH or JAVA_HOME in my
environment settings. I have found a variable called "javac" which
leads to the folder where javac is located.  Also, I have the same
folder in "Path".  Is that weird? heh

Thanks for the website!  Hopefully that will work on the other comps :)

> I gather you have your CLASSPATH and JAVA_HOME set up correctly at
> home, but not on these other machines.
>
> Canadian Mind Products, Roedy Green.
> http://mindprod.com Java custom programming, consulting and coaching.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.