Skip to content

Commit 680569e

Browse files
authored
Update Getting-started-example.md
1 parent 54c305c commit 680569e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/Getting-started-example.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ Copy and paste this code into a file called testSODA.java. Then modify the "url"
159159

160160
To compile and run SODA Java applications, you need the following jars:
161161

162-
* A JDBC 6 or above jar. For example, if you're using JDK8 or above, you could use ojdbc8.jar that ships with Oracle Database 18c, available from [this page](https://www.oracle.com/technetwork/database/application-development/jdbc/downloads/jdbc-ucp-183-5013470.html). Alternatively, you can also use ojdbc8.jar that ships with OracleDatabase 12.2.0.1, available from [this page](http://www.oracle.com/technetwork/database/features/jdbc/jdbc-ucp-122-3110062.html). If you're still on JDK7 or even JDK6, you can use ojdbc7.jar and ojdbc6.jar respectively. These ship with Oracle Database 12.1.0.2, and are downloadable from [this page](http://www.oracle.com/technetwork/database/features/jdbc/default-2280470.html).
162+
* A JDBC 6 or above jar. For example, if you're using JDK8 or above, you could use ojdbc8.jar that ships with Oracle Database 18c, available from [this page](https://www.oracle.com/technetwork/database/application-development/jdbc/downloads/jdbc-ucp-183-5013470.html). Alternatively, you can also use ojdbc8.jar that ships with OracleDatabase 12.2.0.1, available from [this page](http://www.oracle.com/technetwork/database/features/jdbc/jdbc-ucp-122-3110062.html). If you're still on JDK7 or even JDK6, you can use ojdbc7.jar or ojdbc6.jar respectively. These ship with Oracle Database 12.1.0.2, and are downloadable from [this page](http://www.oracle.com/technetwork/database/features/jdbc/default-2280470.html).
163163

164164
* javax.json-1.0.4.jar. This is the JSR353 implementation, download it from [here](http://search.maven.org/remotecontent?filepath=org/glassfish/javax.json/1.0.4/javax.json-1.0.4.jar).
165165

@@ -168,7 +168,7 @@ To compile and run SODA Java applications, you need the following jars:
168168
Compile and run testSODA.java, making sure the necessary jars are in the classpath. JDK 6 or above is required. For example, assuming you're in the directory where the jars are located, and you are using ojdbc7.jar, do:
169169

170170
javac -classpath "orajsoda.jar" testSODA.java
171-
java -classpath "orajsoda-version.jar:ojdbc7.jar:javax.json-1.0.4.jar:." testSODA
171+
java -classpath "orajsoda-version.jar:ojdbc8.jar:javax.json-1.0.4.jar:." testSODA
172172

173173
You should see the following output:
174174

@@ -215,7 +215,7 @@ This table schema corresponds to the default collection configuration, but SODA
215215

216216
To drop the collection, removing the underlying table and cleaning up the metadata persisted in the database, run the example again, but this time with the "drop" argument at the end:
217217

218-
java -classpath "orajsoda.jar:ojdbc8.jar:javax.json-1.0.4.jar:." testSODA drop
218+
java -classpath "orajsoda-version.jar:ojdbc8.jar:javax.json-1.0.4.jar:." testSODA drop
219219

220220
The output will now be different from before, since the same three documents will be inserted again. But, at the end, the collection will be dropped, and the underlying table removed.
221221

0 commit comments

Comments
 (0)