[nbusers] Re: error: package sun.java2d.cmm does not exist

  • From: Benno Markiewicz < >
  • To:
  • Subject: [nbusers] Re: error: package sun.java2d.cmm does not exist
  • Date: Mon, 10 Dec 2012 08:48:37 +0100

Hi. Please create a minimal sample like a class with a mainmethod calling a class from the missing package and try to compile it manually via javac on the cmdline. I think you have installed different JDKs or eclipse does some voodoo magic. Have tried to run the ant script from eclipse, too?

Greetings markiewb

Am 10.12.2012 07:40 schrieb "golem45" < "> >:
I have this problem on Windows 7 x64
and the log is:

Updating property file: C:\Users\prinect\Documents\NetBeansProjects\DesktopApplication1\build\built-clean.properties
Deleting directory C:\Users\prinect\Documents\NetBeansProjects\DesktopApplication1\build
clean:
init:
deps-jar:
Created dir: C:\Users\prinect\Documents\NetBeansProjects\DesktopApplication1\build
Updating property file: C:\Users\prinect\Documents\NetBeansProjects\DesktopApplication1\build\built-jar.properties
Created dir: C:\Users\prinect\Documents\NetBeansProjects\DesktopApplication1\build\classes
Created dir: C:\Users\prinect\Documents\NetBeansProjects\DesktopApplication1\build\empty
Compiling 3 source files to C:\Users\prinect\Documents\NetBeansProjects\DesktopApplication1\build\classes
C:\Users\prinect\Documents\NetBeansProjects\DesktopApplication1\src\desktopapplication1\DesktopApplication1View.java:18: error: package sun.java2d.cmm does not exist
import sun.java2d.cmm.PCMM;
1 error
C:\Users\prinect\Documents\NetBeansProjects\DesktopApplication1\nbproject\build-impl.xml:603: The following error occurred while executing this line:
C:\Users\prinect\Documents\NetBeansProjects\DesktopApplication1\nbproject\build-impl.xml:284: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 1 second)

(There is the same issue in x32 and x64 versions of Netbeans 7.0.1 and JDK7 on my Windows 7 x64 machine)

It is strange, but I CAN do the same import in Eclipse. The project still working and I can export it to jar with no errors. Why?
It means that the problem is located in Netbeans isn't it?

And the main question still open I NEED THIS PACKAGE AND HIS FUNCTIONALITY IN MY PROGRAM: WHAT TO DO?






[nbusers] error: package sun.java2d.cmm does not exist

golem45 12/09/2012

[nbusers] Re: error: package sun.java2d.cmm does not exist

Ion Iovu 12/09/2012

[nbusers] Re: error: package sun.java2d.cmm does not exist

Ion Iovu 12/09/2012

[nbusers] Re: error: package sun.java2d.cmm does not exist

Edson Richter 12/10/2012

[nbusers] Re: error: package sun.java2d.cmm does not exist

Edson Richter 12/10/2012

[nbusers] error: package sun.java2d.cmm does not exist

golem45 12/10/2012

[nbusers] Re: error: package sun.java2d.cmm does not exist

Benno Markiewicz 12/10/2012

[nbusers] error: package sun.java2d.cmm does not exist

golem45 12/10/2012

<Possible follow-up(s)>

[nbusers] error: package sun.java2d.cmm does not exist

golem45 12/09/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close