MESSAGE
DATE | 2016-04-13 |
FROM | Ruben Safir
|
SUBJECT | Re: [Hangout-NYLXS] compiling java
|
On Tue, 12 Apr 2016 10:31:58 +0000, Andreas Leitgeb wrote:
> Arne Vajhøj wrote:
>> On 4/11/2016 8:07 PM, Popping mad wrote:
>>> how can I compile this [ruben-at-manjaro Downloads]$ javac
>>> IPFragApplet.java IPFragApplet.java:16: error: package
>>> edu.hm.cs.applet.util does not exist import
>>> edu.hm.cs.applet.util.AppletDescription;
>> javac -cp wherever_edu_hm_cs_applet_are.jar IPFragApplet.java
>
> Not quite.
> The package that is not found is a subpackage of the one the current
> class resides in. But then again, according to the shell prompt it seems
> like he executes the javac from a directory named Downloads and
> IPFragApplet.java seems to be directly in that directory, rather than in
> a nested subdirectory that corresponds to the source-file's package:
> edu/hm/cs/applet . This alone wouldn't yet be a problem, but there is
> also another source file that should be in edu/hm/cs/applet/util/ but
> might be also in current directory (or just hasn't been unzipped, yet).
> That way, however, javac won't find it.
>
> Probably you ("Popping mad") unzipped some downloaded .jar (or .zip)
> with option "-j" (for unzip) that discarded the directory structure when
> extracting.
--
So many immigrant groups have swept through our town
that Brooklyn, like Atlantis, reaches mythological
proportions in the mind of the world - RI Safir 1998
http://www.mrbrklyn.com
DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive
http://www.coinhangout.com - coins!
http://www.brooklyn-living.com
Being so tracked is for FARM ANIMALS and and extermination camps,
but incompatible with living as a free human being. -RI Safir 2013
_______________________________________________
hangout mailing list
hangout-at-nylxs.com
http://www.nylxs.com/
|
|