Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Setting up directory hierarchy for JAVA

 
Donald R. Cossitt
buckaroo
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Marilyn de Queiroz
Sheriff
Posts: 9065
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic