[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Org babel java: adding class path
From: |
Jarmo Hurri |
Subject: |
Org babel java: adding class path |
Date: |
Wed, 24 Mar 2021 07:46:19 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Greetings.
I need to add an additional classpath to the call of
org-babel-java-command to make sure my program is able to load a
database driver. But, as it is now, org babel java already uses
classpath option -cp, and in the case of multiple -cp options, only the
last one is retained:
https://stackoverflow.com/questions/45291354/specifying-multiple-cp-or-classpath-entries-on-java-command-line
So what is the correct way to do achieve this in org babel?
>From the command line, in linux, multiple class paths would separated by
a colon ":"
java -classpath "/usr/share/java/hsqldb.jar:." Main
Have fun and stay safe,
Jarmo
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Org babel java: adding class path,
Jarmo Hurri <=