Skip to main content



      Home
Home » Newcomers » Newcomers » Need help to set up David Fischer's Webcam software for development
Need help to set up David Fischer's Webcam software for development [message #153473] Fri, 19 May 2006 19:49
Eclipse UserFriend
Hi Folks,

I am trying to setup David Fischer's Webcam software on Eclipse and it
appears that the problem in running it, is that I am unable to get Eclipse
to recognize and find the main() function in in the class it refers to,
order
build and run.

David Fischer's Webcam software has basically two parts; (1) the
java source/class applications and (2) the html code for which a
java-based http webserver will execute both the html/applet and
the webcam java software based on JMF.

I am able to setup all the parts in a J2EE perspective, to define the
classpath locations, and the arguments needed but when I try to
build/RUN the applications, I get an error message:

"Could not find the main class. Program will exit" and the messages
in the colsole window:

"
java.lang.NoClassDefFoundError: VideoToAppletServer

Exception in thread "main"

"

I can run this program outside of eclipse by executing a
windows BAT file with the following command:

java VideoToAppletServer -htmlroot "WebContent/htmlroot"

If anyone has any suggestions for me to try, please let me know!

Kind regards,
Dan
Previous Topic:Extending Java, thus extending Plugs In
Next Topic:Fragment
Goto Forum:
  


Current Time: Tue Sep 16 06:33:04 EDT 2025

Powered by FUDForum. Page generated in 0.07387 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top