java - Why undefined class and/or applet with an Eclipse setup? -


i trying setup java project based on processing library , own classes. while simple project running, have troubles project running processing (core.jar) , custom classes.

my current setup in screenshot:

 src     |--- default.package     |   l--- sketch.java     |--- matrix     |   l--- custom.java, ... 

project properties

  • you following wrong package structure. remove matrix folder , create package matrix in src.
  • now include processing-core.jar
  • then clean built , should work.

it may ask other dependant jars. whenever new project created advisable use maven because single dependency entry include dependant jar files required.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -