This is an old revision of the document!
For Oracle 10g Release 2 only (10.2g)
Linux (MUST BE DONE ON WHERE YOU HAVE ORACLE DB SERVER RUNNING, on BZ10M server, for example):
bz10m.inf.unibz.it:/data/spatial/shape/bz10m/buses/networks/util/shape2sdojava.zip
set | grep ORACLE_HOME
should output something like ORACLE_HOME=/usr/app/oracle/oracle/product/10.2.0/db_1
javac -classpath $ORACLE_HOME/jdbc/lib/ojdbc14.jar:./sdoutl.jar:$ORACLE_HOME/md/lib/sdoapi.jar SampleShapefileToJGeomFeature.java
java -cp .:$ORACLE_HOME/jdbc/lib/ojdbc14.jar:sdoutl.jar:$ORACLE_HOME/md/lib/sdoapi.jar SampleShapefileToJGeomFeature -h HOST -p PORT -s SID -u USER -d PASS -t TABLE -f FILE_NAME
where
Oracle 10g Release 1 needs additional patches (read about them in shape2sdojava.zip readme.txt)
If anything, contact me (the creator of this page) {at} unibz {dot} it.