🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #647

how to get current directory in java?

#647
From: Rong
Date: Tue, 25 Mar 2003 03:31
5 lines
1193 bytes
hello,everyone, I have a problem that how to get current directory in java?
for example: I have a class which name is MyFirst.class in "c:\javaproject"
directory,and how to get "c:\javaproject" directory in MyFirst.class?
  can anyone tell me?
  thanks in advance.
Technical Details
Message-ID: <3e7fcdeb@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,1a871d7637f6ef59,start
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2003-03-24 19:38:01 PST
Reply-To: "Rong" <meixiaolong@163.net>
From: "Rong" <meixiaolong@163.net>
Newsgroups: borland.public.jbuilder.java.api
Subject: how to get current directory in java?
Date: Tue, 25 Mar 2003 11:31:20 +0800
Lines: 7
Organization: www.airwap.com
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 218.17.66.93
Message-ID: <3e7fcdeb@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1048563179 218.17.66.93 (24 Mar 2003 19:32:59 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail