JMad is a Java API for MadX.
MadX is a software package to simulate particle accelerators and is used at CERN and all around the world. MadX has its own proprietary scripting language and is usually launched from the command line
Visit JMad for more information