This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

hsqldb installation  RSS feed

 
maliney mama
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,


I have installed hsqldb and now i have to run the manager with a commande: java -classpath c:\hsqldb\lib\hsqldb.jar org.hsqldb.util.DatabaseManager
I dont really know how to do it

Could you help me pelase?


Thanks in advance


Maliney
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16026
87
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you know what the Windows command prompt is? That's what you use to run commands like that one.
 
maliney mama
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ya i know cmd but i dont understand " java -classpath c:\hsqldb\lib\hsqldb.jar org.hsqldb.util.DatabaseManager " because my jar in just in lib so why cant i just open with this "c:\hsqldb\lib\hsqldb.jar " ...
because in my orders I have /
1. install hsqldb 1.8 (http://sourceforge.net/projects/hsqldb/files/hsqldb/hsqldb_1_8_0/)
2. Unzip in C:\
3.Then run your manager with the commande : java -classpath c:\hsqldb\lib\hsqldb.jar org.hsqldb.util.DatabaseManager

I have done the 2 first steps but the 3 rd I dont know how to do it (in cmd ) because i dont understand this java -classpath c:\hsqldb\lib\hsqldb.jar org.hsqldb.util.DatabaseManager

 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16026
87
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You obviously have to type the command with the path as it is on your system, so if you have hsqldb.jar in the directory C:\hsqldb\lib, then you have to use C:\hsqldb\lib\hsqldb.jar and not something else.

What exactly do you not understand about the command? You just have to type that command in the command prompt, that's all. There's not really anything special to understand about it. It will run the class org.hsqldb.util.DatabaseManager which is in the hsqldb.jar file which is in directory C:\hsqldb\lib.

Did you try it? Did it work, or not? Did you get an error message; if yes, then what was the error message?
 
maliney mama
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
there is no error ... but my jar is not opening
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!