Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-19-2011, 06:40 PM   PM User | #1
izzahmu
New to the CF scene

 
Join Date: Dec 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
izzahmu is an unknown quantity at this point
when to change system path

new to programming, I am downloading software to help me create my program. I am told often check that the file is on your system path or add to system path.
I know how to change system path and how to add a new path.
What I don't understand is what goes on system path? how does it work? For example when I download programs why don't they end up in the program's file on my C drive why are they under my user name in a folder called downloads?
The programs I am working with are R and Weka, they are both used for data analysis. I have to download packages for each of these programs, these packages are like libraries so when it says make sure bla bla bla is on the system path does that mean the entire R program or that one piece that was downloaded its all confusing?
izzahmu is offline   Reply With Quote
Old 12-19-2011, 07:01 PM   PM User | #2
Philip M
Supreme Master coder!

 
Philip M's Avatar
 
Join Date: Jun 2002
Location: London, England
Posts: 17,033
Thanks: 197
Thanked 2,410 Times in 2,388 Posts
Philip M has a spectacular aura aboutPhilip M has a spectacular aura aboutPhilip M has a spectacular aura about
This is nothing whatsoever to do with Javascript.
__________________

All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.
Philip M is offline   Reply With Quote
Old 12-19-2011, 07:20 PM   PM User | #3
izzahmu
New to the CF scene

 
Join Date: Dec 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
izzahmu is an unknown quantity at this point
Well not exactly because Weka is written with java. additionally when you write a program in any language you need to interact with system path. Java is the most commonly used language so I think the question is applicable
izzahmu is offline   Reply With Quote
Old 12-19-2011, 07:53 PM   PM User | #4
venegal
Gütkodierer


 
Join Date: Apr 2009
Posts: 2,127
Thanks: 1
Thanked 426 Times in 424 Posts
venegal has a spectacular aura aboutvenegal has a spectacular aura about
Javascript has nothing to do with Java, so this is definitely the wrong forum. I'll move this thread.
__________________
.My new Javascript tutorial site: http://reallifejs.com/
.Latest article: Calculators — Tiny jQuery calculator, Full-fledged OOP calculator, Big number calculator
.Latest quick-bit: Including jQuery — Environment-aware minification and CDNs with local fallback
venegal is offline   Reply With Quote
Old 12-19-2011, 08:45 PM   PM User | #5
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,635
Thanks: 4
Thanked 2,448 Times in 2,417 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
I don't quite follow the question here either. If it specifies that it needs to be in a system path, put it in a system path. This path can also be any path on your machine if you have added it to your environment or user variables (user preferred).
DLL's are commonly required to be located in system paths or directly within the same path as the controlling executable. Java on the other hand tends to care more about jar files, which also need to be available to the executing jar. These can be either in the same directory as the jar, or within the path, or recompiled as a resource for the jar.
Unless the documentation specifies what has to go where, this often requires trial and error. If documentation specifies that I need say mysql.dll within a source path, but fails to mention that I need something like libcurl.dll in a system path, then it will fail to run.
As for where you download, this has nothing to do with java, javascript, or any language. That is a browser setting. I don't recommend moving it to C:\, keep it in the downloads. Assuming your standard user is not an administrator, writing the C:\ may be forbidden. Move it out once complete. I for example download everything to H:\Downloads, and move what is necessary to where it belongs.
Fou-Lu is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:30 PM.


Advertisement
Log in to turn off these ads.