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


Groups > comp.lang.java.help > #1452

Re: Work around requested

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
From Lew <lewbloch@gmail.com>
Newsgroups comp.lang.java.help
Subject Re: Work around requested
Date Sat, 17 Dec 2011 19:19:40 -0800 (PST)
Organization http://groups.google.com
Lines 33
Message-ID <17844998.127.1324178380897.JavaMail.geo-discussion-forums@pril5> (permalink)
References <b887a9d5-a48b-409a-aee1-b1c95397506c@y7g2000vbe.googlegroups.com>
Reply-To comp.lang.java.help@googlegroups.com
NNTP-Posting-Host 173.164.137.213
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
X-Trace posting.google.com 1324178764 26019 127.0.0.1 (18 Dec 2011 03:26:04 GMT)
X-Complaints-To groups-abuse@google.com
NNTP-Posting-Date Sun, 18 Dec 2011 03:26:04 +0000 (UTC)
In-Reply-To <b887a9d5-a48b-409a-aee1-b1c95397506c@y7g2000vbe.googlegroups.com>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=173.164.137.213; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T
User-Agent G2/1.0
X-Google-Web-Client true
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.help:1452

Show key headers only | View raw


bH wrote:
> I have jdk1.7.0, using a Windows7 machine.
> I am working on a program
> that will reduce a jpeg image to a
> Thumbnail sized jpeg image. My program sample
> uses these three imports,
> among others. They are:
> 
> import com.sun.image.codec.jpeg.JPEGCodec;
> import com.sun.image.codec.jpeg.JPEGEncodeParam;
> import com.sun.image.codec.jpeg.JPEGImageEncoder;
> 
> my IDE lists the error as
> "package com.sun.image.codec.jepg does
> not exist."
> 
> Is there a work around that will do the same thing
> but without these import listed above?
> TIA for your reply.

No.

We'll assume the misspelling in your post was a typo and that you did not copy 
and paste the message.

The existence or non-existence of a package does not depend on your 'import' 
directives.

You have not provided the correct classpath to the compiler for it to detect 
the needed package.

-- 
Lew

Back to comp.lang.java.help | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Work around requested bH <bherbst65@hotmail.com> - 2011-12-17 19:03 -0800
  Re: Work around requested Lew <lewbloch@gmail.com> - 2011-12-17 19:19 -0800
    Re: Work around requested "John B. Matthews" <nospam@nospam.invalid> - 2011-12-18 01:36 -0500
      Re: Work around requested Lew <lewbloch@gmail.com> - 2011-12-17 23:39 -0800
      Re: Work around requested bH <bherbst65@hotmail.com> - 2011-12-18 21:01 -0800
        Re: Work around requested bH <bherbst65@hotmail.com> - 2011-12-20 15:46 -0800
          Re: Work around requested Knute Johnson <nospam@knutejohnson.com> - 2011-12-20 16:53 -0800
            Re: Work around requested bH <bherbst65@hotmail.com> - 2011-12-20 17:02 -0800
              Re: Work around requested Knute Johnson <nospam@knutejohnson.com> - 2011-12-20 20:43 -0800
          Re: Work around requested "John B. Matthews" <nospam@nospam.invalid> - 2011-12-20 20:13 -0500
            Re: Work around requested bH <bherbst65@hotmail.com> - 2011-12-20 17:33 -0800
              Re: Work around requested Knute Johnson <nospam@knutejohnson.com> - 2011-12-20 20:47 -0800
                Re: Work around requested bH <bherbst65@hotmail.com> - 2011-12-21 13:58 -0800
                Re: Work around requested Knute Johnson <nospam@knutejohnson.com> - 2011-12-21 16:09 -0800
                Re: Work around requested bH <bherbst65@hotmail.com> - 2011-12-21 18:58 -0800
                Re: Work around requested Knute Johnson <nospam@knutejohnson.com> - 2011-12-21 19:09 -0800
                Re: Work around requested bH <bherbst65@hotmail.com> - 2011-12-21 18:50 -0800
  Re: Work around requested Roedy Green <see_website@mindprod.com.invalid> - 2011-12-18 12:51 -0800
    Re: Work around requested Joerg Meier <joergmmeier@arcor.de> - 2011-12-24 02:18 +0100

csiph-web