LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-16-2011, 09:08 AM   #1
ServalSoft
Member
 
Registered: Nov 2003
Distribution: mandriva pwp 2010
Posts: 74

Rep: Reputation: 15
Configuring Java Packages with Netbeans


Hello,

I am using Mandriva pwp 2010, and I have installed netbeans as an IDE to develop some java applications.

I wrote an app, and I have included the "Package packName" at the beginning of the source code, but when I try to import it in another application I get the ClassNotFoundException, I think there is a problem with my classpath, I looked around but was only able to find resources relating to adding the actual JAVA path, or some other referred to fixing the package problem under the Windows environment.

Thank you.
Yan
 
Old 10-18-2011, 02:56 AM   #2
ServalSoft
Member
 
Registered: Nov 2003
Distribution: mandriva pwp 2010
Posts: 74

Original Poster
Rep: Reputation: 15
Found a quick fix, the easiest way for me was just to create a single project, and add the packages from within that project. That solved the path issue with no problems as they are all in the same local directory.
Not a permanent solution if you actually want to "Take" your packages somewhere else, but this does the trick for me, at least until I can find a better solution.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Netbeans for Java tm2383 Programming 3 10-14-2007 12:54 PM
java and netbeans 5.5 - 2 problems avallach Linux - Software 2 08-14-2007 07:35 AM
Installing/Configuring Java/Shockwave rpm packages in mandrake. Link to Mozilla grandmarkai Linux - Software 1 05-02-2006 02:04 AM
Java: Netbeans IDE question ludeKing Programming 0 09-01-2004 09:20 AM
installing netbeans/java cobundle? guitarnix Linux - Software 4 12-17-2003 06:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration