NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
lsdisciples
Joined: 19 Dec 2011 Posts: 6
|
Posted: Mon Dec 19, 2011 3:17 pm Post subject: package com.sun.tools.attach.api does not exist |
|
|
Hi,
I'm not really familiar with Java and Netbean...
- How do I import com.sun.* packages into my own project?
Thanks
lsdisciples |
|
| Back to top |
|
 |
lsdisciples
Joined: 19 Dec 2011 Posts: 6
|
Posted: Tue Dec 20, 2011 2:41 pm Post subject: |
|
|
I just want to import some com.sun.* stuffs
Nobody can answer to this? |
|
| Back to top |
|
 |
KimvdLinde
Joined: 20 Dec 2011 Posts: 2
|
Posted: Tue Dec 20, 2011 5:37 pm Post subject: Two options |
|
|
To possible problems can explain this.
One, the package in question has not been installed or not properly attached to the project in the properties settings.
Two, it is a bug that bugs a lot of people, and see my post of today with the solution. http://forums.netbeans.org/viewtopic.php?t=45554 |
|
| Back to top |
|
 |
lsdisciples
Joined: 19 Dec 2011 Posts: 6
|
Posted: Wed Dec 21, 2011 3:07 pm Post subject: |
|
|
The way I understand it is that it's not installed and available by design.
I'm looking for a way to import it since many many source code over the internet seems to use it without problem.
it's not a default package I suppose you have to manually link and import it in some way ...
How can I attach this package to the project in the properties settings.?? Maybe it's not properly attached like you said?
thanks for any help...  |
|
| Back to top |
|
 |
lsdisciples
Joined: 19 Dec 2011 Posts: 6
|
Posted: Wed Dec 21, 2011 4:26 pm Post subject: |
|
|
Finally I figure it out.
I need to add a reference to tools.jar |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|