# Kotlinc-jvm classpath with many jars

**URL:** <https://discuss.kotlinlang.org/t/kotlinc-jvm-classpath-with-many-jars/12632>\
**Category:** Support\
**Created:** [May 8, 2019, 1:22am UTC](https://discuss.kotlinlang.org/t/kotlinc-jvm-classpath-with-many-jars/12632 "2019-05-08T01:22:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yuribudilov](https://avatars.discourse-cdn.com/v4/letter/y/e0b2c6/32.png) [@yuribudilov](https://discuss.kotlinlang.org/u/yuribudilov)\
**Post date:** [May 8, 2019, 1:22am UTC](https://discuss.kotlinlang.org/t/kotlinc-jvm-classpath-with-many-jars/12632/1 "2019-05-08T01:22:32Z")

</div>

Hello

I am trying to use Kotlin REPL (1.3.31) to access local Apache Spark cluster (similar to what Scala REPL and Python PySpark repl do).

The first problem I encountered is that I have ~227 dependent Jar files that Spark depends on (directly and indirectly). The -classpath on Windows 10 command shell can not handle this volume, it seems.  
The @argsfile.args does not work for REPL, (not even documented?).

So how do I pass a very long list of jar file dependencies to REPL Kotlin 1.3.31 using classpath or any other way ??

It would be great to adopt Kotlin in Apache Spark, a great alternative to Java and Scala.

PS: I found this, suggesting there is a lot more that is required to make it work…

> **[GitHub - Kotlin/kotlin-interactive-shell: Kotlin Language Interactive Shell](https://github.com/Kotlin/kotlin-interactive-shell)**
>
> Kotlin Language Interactive Shell. Contribute to Kotlin/kotlin-interactive-shell development by creating an account on GitHub.

Thank you very much for comments/opinions/etc
