Detect Java Installation Directory


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Detect Java Installation Directory

  1. #1
    Join Date
    Apr 2004
    Posts
    8

    Detect Java Installation Directory

    I need to detect where Java is installed. Is there a function in Java to detect the directory of where it is installed.

  2. #2
    Join Date
    Sep 2005
    Location
    istanbul / Turkey
    Posts
    133
    System.getProperty("java.home")
    other system properties you can query are ..
    http://java.sun.com/docs/books/tutor...roperties.html

Similar Threads

  1. Replies: 2
    Last Post: 09-08-2005, 06:38 AM
  2. Directory Listing in Java!?
    By Geordie in forum Java
    Replies: 5
    Last Post: 07-18-2005, 05:34 AM
  3. Java vs. .Net. A questionnaire
    By Basil in forum .NET
    Replies: 1
    Last Post: 05-13-2005, 06:46 AM
  4. Replies: 0
    Last Post: 03-01-2001, 08:23 PM
  5. Re: VB vs. Visual Age for Java
    By JJ in forum Enterprise
    Replies: 1
    Last Post: 07-06-2000, 04:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center