Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
0 user currently in Programming. | 3 guests |
Acmlm's Board - I2 Archive - Programming - Java CLASSPATH | | | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||
aioria1981 Ninji Level: 20 Posts: 135/234 EXP: 36701 For next: 5738 Since: 07-20-05 From: Viña del Mar, Chile Since last post: 5 days Last activity: 5 days |
| ||
Well, i'm trying to set the classpath in windows (2k to be more precise) in many ways, but javac doesn't even notice that i set a classpath for it. Here are the things i did:
I'm asking this so i don't have to upload the sources through ssh to a linux server with java to compile them. Do you have any idea what's happening guys ? EDIT: I changed the pre to [i] to not use so much space (i need scrollbars, pm me anyone that knows how without using a css, a div style would be fine EDIT 2: My signature (which was supposed to not exist) was messed, sorry EDIT 3: WTF is the text area appearing in my post? It even appears in the editing textarea as html code (had to post without layout ) |
|||
HyperLamer <||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people Sesshomaru Tamaranian Level: 118 Posts: 7294/8210 EXP: 18171887 For next: 211027 Since: 03-15-04 From: Canada, w00t! LOL FAD Since last post: 2 hours Last activity: 2 hours |
| ||
It might just plain not let you change it without admin access. Is this a real environment variable like the kind you would see if you opened an ordinary command prompt and typed 'set'? If so, try the first one again, but add 'set' before it (like set classpath=".;f:\whatever"). | |||
neotransotaku Baby Mario 戻れたら、 誰も気が付く Level: 87 Posts: 3922/4016 EXP: 6220548 For next: 172226 Since: 03-15-04 From: Outside of Time/Space Since last post: 11 hours Last activity: 1 hour |
| ||
then to make sure it is set, type echo %CLASSPATH% |
|||
aioria1981 Ninji Level: 20 Posts: 136/234 EXP: 36701 For next: 5738 Since: 07-20-05 From: Viña del Mar, Chile Since last post: 5 days Last activity: 5 days |
| ||
Oops, i mistyped the first command. I actually typed set CLASSPATH... and i also checked the classpath with the echo %CLASSPATH% command, but it shows it as if it has been set ok (shows the whole classpath string), it's javac that doensn't recognize it. And here, in my home, where it does work (beacause i obviously have admin provileges), it doen't bother if it's a system environment variable or a user environment variable. The weirdest thing is that it recognizes the "." path in the classpath, otherwise it would complain about not finding the classes in the same directory as the source (or the actual directory). I forgot to test if it compiles some simple sources (i.e, only the ones that use java.Lang.*) without the classpath set. I think i'm beaten this time, thanks anyways guys |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Programming - Java CLASSPATH | | | |