To nj78:
The code has exception-handler, and I'm sure the driver cannot be found. The JDBC driver is jar.
The connection-code is package to jar and executable.
I am trying to verify my understanding on setter and getter on java class with this example:
//MaximumFinder2.java
import java.util.Scanner;
public class MaximumFinder2
{
public static void main (String args)
{
Scanner input = new Scanner(System.in);
... (6 Replies)
I am looking at a website to learn Java and this is one of the exercises.
Write a program that will show different time and date information based on what number you send it. The codes are:
0 - number of milliseconds since January 1, 1970
1 - number of seconds since January 1, 1970
2 -... (6 Replies)
Hi, I need help to Link array from one class to another class
Firstly CSVParser Class what it did is load csv file and store into array
Secondly WarehouseItem where each record is store
How can I get a list of array that I load to CSVParser Class and store them to WarehouseItem and... (0 Replies)
I have a .jnlp file start.jnlp.
It first display a login screen and after login does something
I am getting the below error after login
Error:unable to load resource
url.com: Search with Many
Find the attached error snapshot of the webstart application.
I am trying this activity by... (1 Reply)
Is anyone know how to write a class in separate file? While method does it needs to be contained in a printwriter class? Can I have the format of the printwriter class as a reference? Thanks a lot. (1 Reply)
Hi,
Is it possible to call the constructur of a java class in a shell script?
I know you can call static methods, but can you also call the constructor?
tnx. (1 Reply)
Hello everybody,
I have a problem about running a java class with a cron :
I have Cron.txt file which has :
0,5,10,15,20,25,30,35,40,45,50,55 * * * * CronJava.txt
I have CronJava.txt wihich has :
cd ias/j2ee/SapAktarim/applications/SapAktarim/SapAktarim/WEB-INF/classes/;java -classpath... (3 Replies)