I'm trying to install DBD::JDBC on my windows computer. Per the site it says to run the server.
So, I ran the following command, from the windows command prompt:
java -cp "dbd_jdbc.jar:log4j-api-2.17.1.jar:log4j-core-2.17.1.jar:." -
+Dlog4j2.disableJmx=true -Ddbd.port=12345 com.vizdom.dbd.jdbc.Server
It it said it could not load or find main class com.vizdom.dbd.jdbc.Server - so, where is this com.vizdom.dbd.jdbc.Server class supposed to be? Is it something I need to add to my classpath?
Also, the command line that I referenced, came from the following file C:\Strawberry\cpan\build\DBD-JDBC-0.72-0\server\sample-command-line.txt
On the CPAN site
DBD::JDBC they make note to run the server, one would need to enter the following command line:
export CLASSPATH=dbd_jdbc.jar:log4j-1.2.13.jar:.:/oracle/jdbc/classes1
+11.zip:$CLASSPATH
DRIVERS=oracle.jdbc.driver.OracleDriver
java -Djdbc.drivers=$DRIVERS -Ddbd.port=9001 com.vizdom.dbd.jdbc.Serve
+r
But, it is written in bash. But, the problem is, Bash is a Unix shell - and I'm running windows. So, what would the equivalent be for windows?
Any assistance would be appreciated.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.