• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

hsqldb installation  RSS feed

 
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
 
Java Cowboy
Sheriff
Posts: 16084
88
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: 16084
88
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!