We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOther Libraries › 3rd party import libraries
Page Index Toggle Pages: 1
3rd party import libraries (Read 1274 times)
3rd party import libraries
Nov 30th, 2009, 2:16pm
 
This afternoon I stumbled upon "processing".
It looks very promising for the particle modeling I want to do.
You have no examples of ball physics in 3D.
I wish to use balls with charge with possible bonds with other balls
to simulate changes in physiological water to move ions.
So I want to have various size balls for ions, bound balls for H2O,
and other things I have in mind.

I found traer's physics.jar, but can't seem to place it properly
in a directory structure to make it available.

I am very strong in C++ but I'm new to java,
so my question may seem trivial.

Where should I put "physics.jar"?
Traer has example code with the line "import traer.physics.*;".

Processing gives me the following error:
"The package 'traer' does not exist.  You might be missing a library."
"Note that release 1.0, libraries must be installed in a folder named 'libraries' inside the 'sketchbook' folder."

Here is what I'm running and what I've tried.
I run Ubuntu 9.10 linux running Processing 1.0.9
and Processing made a directory named "~/sketchbook".
Exactly what should the pathname be?
I tried:

  1. ~/sketchbook/libraries/physics.jar
  2. ~/sketchbook/libraries/traer.physics.jar
  3. ~/sketchbook/libraries/traer/physics.jar

Any help you can give me will be appreciated.
Re: 3rd party import libraries
Reply #1 - Nov 30th, 2009, 2:34pm
 
sketchbook/libraries/physics/library/physics.jar


Re: 3rd party import libraries
Reply #2 - Nov 30th, 2009, 2:44pm
 
Thank you.
That worked.
Case closed. Smiley
Page Index Toggle Pages: 1