running compiled classes from java

View: New views
2 Messages — Rating Filter:   Alert me  

running compiled classes from java

by Skeptic . :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi,

Let say I have some scripts that can be compiled in advance (no need to update them at runtime), how I should run them from Java code ?

Thanks for help.



Tirez parti d'une offre Windows 7 exceptionnelle, et voyez comment il fonctionne exactement comme vous le voulez. Découvrez maintenant les offres associées à Windows 7.

Re: running compiled classes from java

by Roshan Dawrani-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The scripts that can be compiled in advance :-

* If they are compiled - they can be run from java as normal classes with groovy jar on classpath.

* If they are not compiled - then you can run them embedded in java code. See here: http://groovy.codehaus.org/Embedding+Groovy

-- Roshan

On Wed, Nov 4, 2009 at 10:58 PM, Skeptic . <skeptic2000@...> wrote:

Hi,

Let say I have some scripts that can be compiled in advance (no need to update them at runtime), how I should run them from Java code ?

Thanks for help.



Tirez parti d'une offre Windows 7 exceptionnelle, et voyez comment il fonctionne exactement comme vous le voulez. Découvrez maintenant les offres associées à Windows 7.