JerryMungo
Honorary Master
- Joined
- Jul 18, 2008
- Messages
- 37,527
- Reaction score
- 6,276
.
Last edited:
South Africa’s biggest forum. Discuss, discover, and connect with thousands of members.
.jar in the same folder as your .class files, and then in the console / terminal, navigate to that folder and run:java -cp ".:*" <classname-without an extension>java -cp ".;*" <classname-without an extension>Wildcard * should capture all jar files in that folder.
Why SQLite ? If you need an embedded db for java there better options. H2, HS, Derby to name a few. With maven and Hibernate you don’t need to care about what db is under the hood. If you want to stick with SQLite, avoid java imo.
Why?If you want to stick with SQLite, avoid java imo.
Maybe due to full SQL92 support, e.g. SQLite doesn't support right join or full outer join."better options" as in easier to work with or a better DB? There's nothing difficult about SQLite and Java unless you're scared of writing SQL
Why?
"better options" as in easier to work with or a better DB? There's nothing difficult about SQLite and Java unless you're scared of writing SQL
Huh? what exactly is so difficult about SQLite?It’s just easier to integrate java with the other options for embedded db work.
Why? ...depends on the data, doesn't it.IMO for an embedded db, spending time writing sql isnt useful.
Granted wouldn't have been my first choice, but hey all Java IDEs are laggy memory hogs anyway, so that's not a great comparison.But then the OP also chose VScode to use java, which isn’t most peoples first choice as a java ide![]()
Huh? what exactly is so difficult about SQLite?
Why? ...depends on the data, doesn't it.
Granted wouldn't have been my first choice, but hey all Java IDEs are laggy memory hogs anyway, so that's not a great comparison.
It's a just handful of statements...I initially chose to use SQLite, then I found that I would have write all the sql and connection,
Yes, but that was with running the Java app from the console. btw he would have experienced the same problem with any other dependency -- it certainly wasn't specific to SQLiteAnd OP did mention he was struggling![]()
I am lazy, and like the OP’s strange attraction to VSCode, I may currently have a thing for ORM frameworksIt's a just handful of statements...![]()
How exactly do you write an app with less than a handful of statements? BTW I can appreciate the OPs choice to use VScode; I too prefer the non lag performance of vi and / or Sublime Text against the sluggish memory hogs that most IDEs are.I am lazy, and like the OP’s strange attraction to VSCode, I may currently have a thing for ORM frameworks![]()
I use IntelliJ on Mac and windows. I don’t it find sluggish at all on either os.How exactly do you write an app with less than a handful of statements? BTW I can appreciate the OPs choice to use VScode; I too prefer the non lag performance of vi and / or Sublime Text against the sluggish memory hogs that most IDEs are.
Whats the specs on those machines? Will it run smoothly on a Pentium with 4GB of RAM alongside an instance of Chrome with 10+ tabs?I use IntelliJ on Mac and windows. I don’t it find sluggish at all on either os.
yeah that's an exercise in futility.Also, I'd love to see you run a full on IDE on a MacBook Air![]()