Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #28847

Re: Where is Java class located on Linux systems?

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Where is Java class located on Linux systems?
Date 2014-06-25 08:13 -0700
Organization Canadian Mind Products
Message-ID <lkplq9572vimq8n02rspc9ks0atgsfoecv@4ax.com> (permalink)
References <dd8b1a26-3168-454d-94ed-ddc473e28740@googlegroups.com>

Show all headers | View raw


On Sat, 21 Jun 2014 20:52:03 -0700 (PDT), Tom Tylor
<tomcmpt@gmail.com> wrote, quoted or indirectly quoted someone who
said :

>
>For the "import ...;" lines, I just wonder where the class files are located on my system. Can anyone help?

You import classes, not the filenames of classes, so it does not
matter where on disk they are, the import stays the same.

Your classes files are where you/javac put them, or where your IDE put
them.  Use a tool to search for *.class files to find them.

Then use Classpath to tell the compiler or runtime where to look for
them.

see http://mindprod.com/jgloss/classpath.html
-- 
Roedy Green Canadian Mind Products http://mindprod.com
Why program by hand in 5 days what you can spend
2 to 5 years of your life automating.
~ Terence Parr 1964-08-17

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Where is Java class located on Linux systems? Tom Tylor <tomcmpt@gmail.com> - 2014-06-21 20:52 -0700
  Re: Where is Java class located on Linux systems? markspace <markspace@nospam.nospam> - 2014-06-21 23:52 -0700
  Re: Where is Java class located on Linux systems? lipska the kat <lipskathekat@example.com> - 2014-06-22 08:33 +0100
  Re: Where is Java class located on Linux systems? Jeff Higgins <jeff@invalid.invalid> - 2014-06-22 08:00 -0400
  Re: Where is Java class located on Linux systems? Roedy Green <see_website@mindprod.com.invalid> - 2014-06-25 08:13 -0700

csiph-web