Solved

NetBeans exectuion

Posted on 2004-10-07
4
220 Views
Last Modified: 2010-03-31
Howdy,

This should be easy enough, but I can't figure it out. I'm taking a course this summer in Java and didn't like the IDE that came with the book. So I went and downloaded NetBeans version 3.6. I really like this IDE, however I have one problem. I can compile my class, but when I try to execute it it only displays the following text in a window titled 'Output - Math - I/O':

java.lang.NoClassDefFoundError: UIS
Exception in thread "main"

I know this class ran fine in my other IDE. What I need it to do is run in a dos window. However I can't figure out how to configure it to do this. Any suggestions?

0
Comment
Question by:Hal9000Returns
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 5

Accepted Solution

by:
TrekkyLeaper earned 100 total points
ID: 12255937
The filesystem in Netbeans acts as the classpath. Therefore, if you have a package com.my.package located in c:\dev\com\my\package, you must have c:\dev mounted as a filesystem. In your case, UIS is not in a package, so the directory that it is in must be mounted in the filesystem. A parent directory will not work.
0
 

Author Comment

by:Hal9000Returns
ID: 12258240
Thanks for the quick post, I'm at work now, but when I get home I'll take a look. As a side note I need to stop asking questions after doing homework for 5 or 6 strait hours. Summer should be fall and I mispelled execution. Oh well...
0
 

Author Comment

by:Hal9000Returns
ID: 12267415
Sorry for the delay. Mounting the filesystem worked. I would have never thought/known to do that, thanks.
0
 
LVL 5

Expert Comment

by:TrekkyLeaper
ID: 12267464
Glad I could help. =)
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question