• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Setting up directory hierarchy for JAVA

 
buckaroo
Posts: 401
Postgres Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Can you shoot lasers out of your eyes? Don't look at this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic