Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

NetBeans exectuion

Posted on 2004-10-07
4
Medium Priority
?
226 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 400 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This video teaches viewers about errors in exception handling.
Suggested Courses

722 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