Stats: 3,190,929 members, 7,942,339 topics. Date: Saturday, 07 September 2024 at 07:55 AM |
Nairaland Forum / Science/Technology / Programming / How To Set Java Classpath Variables (1296 Views)
Help Needed In Creating Session Variables / Junit: How To Set Classpath On Windows Xp / Junit: How To Set Classpath On Windows Xp (2) (3) (4)
How To Set Java Classpath Variables by hobilink(m): 8:45pm On Aug 25, 2011 |
Please, what are the steps involves in setting java classpath variables in order to compile .java file to .class file. |
Re: How To Set Java Classpath Variables by Fayimora(m): 11:12pm On Aug 25, 2011 |
Honestly speaking, you dont wanna mess with your environment variables. Just install the JRE and JDK and compile. |
Re: How To Set Java Classpath Variables by Nobody: 11:46pm On Aug 25, 2011 |
Re: How To Set Java Classpath Variables by Fayimora(m): 1:27am On Aug 26, 2011 |
Its stil not a good idea for a beginner to start messing around with stuffs(environment variables) he doesn't even understand. God knows how many systems(frm my course mates) I have had to fix because they messed with those variables. A simple install of the JRE and JDK is enough for compiling java source files. However, if your system is not satisfied with that, then there are lot of thing to consider. Some systems use Program Files(x86) and some use Program Files as the directory for Java. Thats just the most common one and if you look at the link you posted, it uses Program Files. You can also see cases where the system has multiple versions of Java installed. These small things must be taken into consideration and in most cases you only see people asking such questions when they have read some article and messed with their environment variables and then unable to fix it. |
Re: How To Set Java Classpath Variables by Nobody: 1:43am On Aug 26, 2011 |
Re: How To Set Java Classpath Variables by Fayimora(m): 1:54am On Aug 26, 2011 |
Well you are right! But do you really want to be held responsible for 'damaging' someone's computer?, And to worsen the case, you cant see it(the computer) physically so fixing it is a pain! |
Re: How To Set Java Classpath Variables by Nobody: 2:02am On Aug 26, 2011 |
Re: How To Set Java Classpath Variables by Fayimora(m): 2:10am On Aug 26, 2011 |
HAhahahahahahahahhahahahahhahahah lmfaoooooo!!!!!!!! |
(1) (Reply)
How To Prevent A Website From Being Hacked / Intelligent Machines: Do We Really Need To Fear The Rise of Robotics? / Devs: Here Is A Free Idea For You
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 11 |