This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Beginning Java and the fly likes Setting up directory hierarchy for JAVA Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Setting up directory hierarchy for JAVA" Watch "Setting up directory hierarchy for JAVA" New topic
Author

Setting up directory hierarchy for JAVA

Donald R. Cossitt
buckaroo
Ranch Hand

Joined: Jan 31, 2003
Posts: 401
Is there a standard schema for directory hierarchy in order to use JAVA? I find the use of the dos console to be repugnant but, that is the way it is. It is obvious that following default setup is cumbersome in that Windows XP likes to bury files to the nth folder on a system.
Is it ok to create C:\JAVA and place JVM|JDK|SDK, Workspace, Project, Package folders all in that 'root' directory?
I need to completely re-organize what I have currently if I am going to use the @#$%$%! console instead of an IDE and I don't want to do it more than once
I realize this may sound a bit infantile but any advice would be helpful.
rank amature
doco


doco
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
I suggest you create C:\JAVA and use it for workspace, project, packages. However, when you install the jdk/sdk/jre (jvm), I think it is better if it has its own subdir. I usually accept the default (i.e. something like C:\j2sdk1.4.1), although if you wanted to do something like C:\JAVA\j2sdk1.4.1, I don't see any problem with that. Just don't put your files in that subdir.

This avoids clutter. It's easier to keep your stuff separate from the basic app stuff.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Setting up directory hierarchy for JAVA