emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Org babel java: adding class path
@ 2021-03-24  5:46 Jarmo Hurri
  0 siblings, 0 replies; only message in thread
From: Jarmo Hurri @ 2021-03-24  5:46 UTC (permalink / raw)
  To: emacs-orgmode


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:


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,


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-24  5:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-24  5:46 Org babel java: adding class path Jarmo Hurri

Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).