# Run KNIME from own code

**URL:** <https://forum.knime.com/t/run-knime-from-own-code/955>\
**Category:** KNIME Analytics Platform\
**Created:** [December 10, 2010, 6:20pm UTC](https://forum.knime.com/t/run-knime-from-own-code/955 "2010-12-10T18:20:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Moredread](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/m/b38774/32.png) [@Moredread](https://forum.knime.com/u/Moredread)\
**Post date:** [December 10, 2010, 6:20pm UTC](https://forum.knime.com/t/run-knime-from-own-code/955/1 "2010-12-10T18:20:47Z")

</div>

Hi,

I'm interested in providing parameter combinations for a KNIME Workflow from an external framework which is written in Java. Is it possible to call KNIME from another Java application or is there another interface for "external" applications to provide variables/parameters to KNIME?

I'm looking for something like the weka.jar weka.gui.beans.FlowRunner Class that can be run from another java class and initializes Weka appropriately.

Alternativly, is there a way to speed up the invokation of the KNIME\_BATCH\_APPLICATION significantly, I need to run several thousend different parameter sets and around 10 seconds start time is much too long.

---

<div class="post-metadata">

**Author:** ![thor](https://forum-cdn.knime.com/user_avatar/forum.knime.com/thor/32/4_2.png) [@thor](https://forum.knime.com/u/thor)\
**Post date:** [December 10, 2010, 7:21pm UTC](https://forum.knime.com/t/run-knime-from-own-code/955/2 "2010-12-10T19:21:04Z")

</div>

Including KNIME in your application is only possible if it is Eclipse based. KNIME won't run properly if started outside the Eclipse framework.

You may have a look at loops in KNIME workflows. They can easily be used to execute the same part of a flow with different parameters.

In the meantime we are working on improving KNIME startup speed, but this will take some time.

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [June 23, 2023, 8:15pm UTC](https://forum.knime.com/t/run-knime-from-own-code/955/3 "2023-06-23T20:15:52Z")

</div>


