Hello Sir, I made an app using java swing +mysql How can I convert this code with its mysql database into an application that I can install on my desktop or on any other computer? Thanks
@miguelolvera3546
Жыл бұрын
It's not possible, you will also need a commercial license to do it
@zryansirwan9241
5 жыл бұрын
Well done 👍
@zafaryab1893
3 жыл бұрын
Dear Sir, I developed java swing program and I used sqlite. It requires user name and pin to login at the start. But when I run application, it give error that database cannot accessible. and one more question, I have read on some websites that if you use sqlite database, then java jar files only read the file but you cannot update data using jar file on sqlite file. I will be Thankful to you if you can help me
@abinthomas12914
3 жыл бұрын
Java jar is a package when it's compiled. Still it's java inside. And this jar have have every power to do operation like insertion deletion updation. For database cannot accessible. Make sure the sqlite file have read write permission. And it will work like a champ. 🔥.
@baso8941
2 жыл бұрын
Is it possible if im going to convert java project into exe file with xampp database?
@abinthomas12914
2 жыл бұрын
Wrong. If you are making a desktop application use Sqlite or Realm. Xampp is not a database its a tool. Mysql, Oracle database are ment to use in web application.
@mohamedel-bachirzahaf4290
3 жыл бұрын
thank you so much thank you so much brother i hope you get every thing in life
@chetank1283
4 жыл бұрын
I am using Oracle Database. As I follow ed your steps I don't found one file i.e database file which will be automatically created in your project. What to do for Oracle Database to get that database file..??
@abinthomas12914
4 жыл бұрын
Hi, use a embedded databas instead of a SQL server. You need a sqlite single file to carry with your project
@chetank1283
4 жыл бұрын
@@abinthomas12914 Ok I will try that..!! But in case of Oracle database what to do..?? There is no way to get the database file in Oracle?? BTW Thanks For Help.. :)
@abinthomas12914
4 жыл бұрын
@@chetank1283 you can use Oracle database but it's not a better way for desktop app. Any way if you need to use Oracle database you can do this by 1-) use Oracle database driver in java to connect 2-) need to setup Oracle Database server in every pc to work with same port and username and password or configure in external property file
@sauravgupta3301
6 жыл бұрын
are bhai setup dusre pc pe run krne ke baad wo app .sql file ko sayad access nahi kr rha...signup ya kogin me error aaraha java.lang.NullPointerException aaraha app dusre pc me install krne ke baad
@jotiramyadav2646
4 жыл бұрын
Hi,.... I am trying to make an installer for my java application. The java application developed in Netbeans and have a executable jar file and lib directory in which it contains all the necessary jars for my Application My Requirement is that 1.i want to convert my .jar executable file of my application into an .exe file (Application) 2.I want to package my own jre and install it silently 3.I want to pack MySQL database 5.0 and add my database tables and stored procedures to it 4.Make an serial key for the application as it will be distributed on CD Please Explain me all these Steps as i am stuck trying out the above Requirements looking into the UserGuide as i am new to make the installers.
@jotiramyadav2646
4 жыл бұрын
Plz make video
@abinthomas12914
4 жыл бұрын
@@jotiramyadav2646 you need 1-) lunch4j and 2-) innosetup software for converting the jar and it's free. Also there is other costly but free trial software.
@edwinkipruto7125
2 жыл бұрын
dude am trying to do the same shit did you suceed ?
@belyseinema
4 жыл бұрын
my question is what if I want to insert,update and even delete but using my application will it be possible ?
@abinthomas12914
4 жыл бұрын
Yes. just a piece of cake, using the sqlite driver for java you can run any insert, update, delete, select query and executeupdate from java. Just google your similar query. You can see a lot of examples internet today❤️
@jchernandez6965
4 жыл бұрын
can I ask something? what if I run the program normally in netbeans and it doesn't have a problem and also when I run the jar file it also doesnt have a problem, but when I run the exe file, there are errors shown. By the way the program I made works perfectly so I am wondering why.
@abinthomas12914
3 жыл бұрын
try www.advancedinstaller.com/ instead of inosetup
@seixasribeiro6715
3 жыл бұрын
I got the same problem too, have you solved yours? Could you share please?
@abinthomas12914
3 жыл бұрын
Try using inno setup 5 or latest for windows, make sure your files are there after creating the bundle including the JRE ( use 32 bit version which will work in almost any windows machine)
@ambazamarcellin2017
2 жыл бұрын
merci bcp
@u-linktechinfo3055
6 жыл бұрын
ap ny is project ky sath sqllight use kiya h???
@abinthomas12914
6 жыл бұрын
yes iam using sqlite here
@u-linktechinfo3055
6 жыл бұрын
MS sql server py kesy bnta h without sql server instal other system
@abinthomas12914
6 жыл бұрын
MS sql server used for web services ( basically installed on a server and access through network ). if you need to use ms sql server instead of sqlite. you can do it by Hosting a server (At least on server required). sqlite is good for desktop application used to store locally on the system.And also no need to install sqlite for all system. the setup file will have sqlite file with itself
@AndreasStanly
3 жыл бұрын
VERY THANKS SIRRR YOU DID A GREAT JOB!!!!
@loayabdulaziz9054
6 жыл бұрын
if i want to copy my app. into another pc .. then i installed the app >> should that pc support sql ?
@abinthomas12914
6 жыл бұрын
Yes It will support . you can copy and try it yourself make sure you choose JRE for 32 bit (supported on both 32 bit and 64 bit) otherwise JRE 64 bit works only on 64 bit similar pc's :-)
@AnirudhBabbar
5 жыл бұрын
A great Video, no one described as you did in this video !! Step by Step as they say !!
@abinthomas12914
5 жыл бұрын
Thanks Brother
@bilalsportsryk
2 жыл бұрын
where we can find database?
@gamingcraze6215
5 жыл бұрын
Thank you so much
@hassibamokded1533
5 жыл бұрын
thanks bro u saved my day.
@claaaytv5200
5 жыл бұрын
how about if you are using MS Access as database ? can you tell me what am I supposed to do ?
@abinthomas12914
5 жыл бұрын
Attach Ms Access file I think like .mdb or .accdb file instead of SQlite .db file rest of the process will be similar but query may be different since it's ms access
@iconicae8814
7 ай бұрын
i use sql database and i don't find sql file!!!
@solutiontechseries
5 жыл бұрын
how can we copy our xampp sql database after create a jar file of our java project and where it is stored.
@abinthomas12914
5 жыл бұрын
Xampp has default db as mysql will be used for web type of application But here is a tutorial of standalone application which is offline Required a db like sqlite instead of mysql. So you need to convert mysql db to sqlite db
@solutiontechseries
5 жыл бұрын
@@abinthomas12914 now i'm use sqlite but here is a problem . [SQLITE_BUSY] the datbase file is locked(databse is locked). how to solve it. plz help me
@abinthomas12914
5 жыл бұрын
@@solutiontechseries kzitem.info/news/bejne/1phm3Jx-o39yi20 look this video for solving db lock U need to close connection after use and make sure the db file is used only by ur program and not even a db manager like sqlitemanager in firefox
@solutiontechseries
5 жыл бұрын
@@abinthomas12914 i have not firefox and i have closed all connection but how this problem creates
@abinthomas12914
5 жыл бұрын
@@solutiontechseries may be two instances of ur program is running And also make sure to close result set and other connection variables
@elnixlightingsolution6095
3 жыл бұрын
I am using MySQL but I have don't show the SQL file ..... How can get it....please help me
@abinthomas12914
3 жыл бұрын
Desktop standalone must use sqlite database not MySQL If you need a network based application. For example to store data in one MySQL database and connected by different computer in a LAN network then you must host MySQL in a machine and use that machine Ip address and port number to access it from your application
@FatimaZahra-dm6fv
2 жыл бұрын
How can i do it with oracle database ?????????
@abinthomas12914
2 жыл бұрын
Are you trying to make a web app or desktop standalone. Oracle database MySQL SQL server are used for weba application not desktop standalone application. Except if you want to communicate via internet to the database then try to make a spring-boot web service for backend
@FatimaZahra-dm6fv
2 жыл бұрын
@@abinthomas12914 desktop application with java swing and oracle database, and i want to convert jar with oracle database to exe ??? How can i do it ??
@abinthomas12914
2 жыл бұрын
@@FatimaZahra-dm6fv again if you want to store user data locally sqlite is the way and you need to forget about oracle database. Option 2 : if you want some data to store in oracle database then you need another project as backend to get data from desktop via internet or lan like a REST API and use your oracle database there. No one will ship oracle database within exe. Every type of databases have its own purposes.
@rachelshirin1399
6 жыл бұрын
Where did you get the sql file from?
@abinthomas12914
6 жыл бұрын
www.sqlite.org/download.html use command line or other sqlite manager to create a new file
@sylinaattou7510
5 жыл бұрын
Help me how create setub form my app java with data base postgressql
@pumpmanagementsoftware
5 жыл бұрын
you saved my day
@nehapandey340
3 жыл бұрын
can you please tell me about the attach sql file by steps as i m unable to do the same it's urgent
@abinthomas12914
3 жыл бұрын
Please take a deep breath and watch all 6 parts in the playlist. The attached sqlite file must be in root
@HayxXxYd
3 жыл бұрын
thank you
@abinthomas12914
3 жыл бұрын
👍
@ImranKhan-ok9eo
5 жыл бұрын
Hello! sir how i can attach mysql database to java application in launch4j. please help me
@abinthomas12914
5 жыл бұрын
You cannot attach MySQL db use special purpose portable Database like SQlite instead of MySQL. SQlite is simple and easy
@omegaalpha5702
4 жыл бұрын
@@abinthomas12914 Sir can you do a tutorial on that
@usEr-eX4OiDbU2S
2 жыл бұрын
Bro you teach!!!!!!
@fawadali346
6 жыл бұрын
whenever i run this file to other computer error becomes path not found
@abinthomas12914
6 жыл бұрын
i think you give a static path for database or just redo every step again properly
@saurabhbisht2238
5 жыл бұрын
Bro maine mysql pr banaya h usko kese deploy kare bro
@abinthomas12914
5 жыл бұрын
Bro MySQL ko migrate to sqlite db , because it is not a web application , MySQL are used for webapps where as desktop application offline apps developer use SQLITE Very similar syntax for both
@worldoframanan3358
5 жыл бұрын
Ninte vayil enna pazham ano abineee
@abinthomas12914
5 жыл бұрын
bro enthada sound aano Mic kollathilairunnu
@youcefbouguerni449
5 жыл бұрын
my data base in phpmyadmin is it same for convert or no ? is it the same how can I creat sql file ididn't find him ?
@abinthomas12914
5 жыл бұрын
phpmyadmin is an interface for mysql database you need a sqlite database to do the above example. phpmyadmin / mysql is used for webapplications . here is a desktop application . you can begin from part 1:kzitem.info/news/bejne/mq9-4GeraoeGg3Y
@pawanofficialmail1688
6 жыл бұрын
very very thanks sir
@belyseinema
4 жыл бұрын
my question is what if I want to insert,update and even delete but using my application will it be possible ?
Пікірлер: 75