Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

JavaLab

Java Lab Programs for Sem 6.

Note: All programs are executed in Eclipse and is expected to be done so.

Create PRs and Issues for things to be added to the README and to the repo in general

FAQ's about programs to be run

How to Execute Socket Program?

  • Create a file in the eclipse working directory named hello.txt
  • Compile both Server and SocketClient using javac Server.java and javac SocketClient.java.
  • Then run the Server first using java Server and then java ServerClient

How to run Database program?

  • Change the jdbc url to the url mentioned. The url format is jdbc:mysql://localhost:3306/databasename.
  • Add mysql jdbc connector to build path in eclipse.
  • Refer to the following Stack Overflow url for errors regarding Apache Tomcat and MySQL running.

src : https://github.com/hjoshi123/JavaLab