APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

EJS Run Options - JAR Libraries and Classes included post and replies

Return to the EJS Run Options - JAR Libraries and Classes included thread
Login to post to this thread

Class not found in namespace
Ioannis Vourkas
4 Posts

Hi there,

In my simulations I work with matrices and vectors, so I decided to include the org.la4j.matrix.sparse.CCSMatrix Class and the corresponding la4j jar file via the EJS Run Options panel found in the EJS Information window.

After defining the data path to the JAR library, I could create instances of the abovementioned Class and work perfectly. However, there is constantly a warning appearing saying:

Warning. Syntax error on custom page graf:
Sourced file: inline evaluation of: ``  public void setnodes(){     int [] nodedown = new int[num];     int [] nodeup  . . . '' : Class: org.la4j.matrix.sparse.CCSMatrix not found in namespace : at Line: 288 : in file: inline evaluation of: ``  public void setnodes(){     int [] nodedown = new int[num];     int [] nodeup  . . . '' : org .la4j .matrix .sparse .CCSMatrix

I know what an inline evaluation is, but here I can't say I completely understand what the warning means to say. I tried to solve this by including the Class: org.la4j.matrix.sparse.CCSMatrix via the Include Classes option of the same window, but the warning remains.

Post edited September 2, 2015 at 8:11 AM EST.


Replies to Class not found in namespace

Re: Class not found in namespace -
Francisco Esquembre
228 Posts

Phew! This is a difficult one. I would need to have the complete source code for this example (including the JAR library) to try to help!

Paco



OSP Projects:
Open Source Physics - EJS Modeling
Tracker
Physlet Physics
Physlet Quantum Physics
STP Book