Originally posted by Groan
Unzip the "ins.jar" file using unjar or winzip. Source file CaseStat.java is provided in "ins.jar"
One suggestion is to use Timer and TimerTask from java.util (new in 1.3 and later) which could simplify the thread/delay code. These are specifically for time delayed threads. Otherwise good job........... I'm learning stuff on this forum perl, C#, java in addition to my usual c/c++ and Immigration law.
Originally posted by laava
rk4gc,
I put all the files: ins.jar, case.txt, ins.dat, activation.jar and mail.jar in the same directory on my SUN account. I tried to run with
"java -cp .:mail.jar:activation.jar -jar ins.jar"
However, I got the error message:
"Exception in thread "main" java.lang.NoClassDefFoundError: javax/mail/MessagingException"
Please advice!
Originally posted by laava
rk4gc,
I put all the files: ins.jar, case.txt, ins.dat, activation.jar and mail.jar in the same directory on my SUN account. I tried to run with
"java -cp .:mail.jar:activation.jar -jar ins.jar"
However, I got the error message:
"Exception in thread "main" java.lang.NoClassDefFoundError: javax/mail/MessagingException"
Please advice!
laava,Originally posted by laava
tm1965,
I try to run it on a SUN Solaris UNIX machine. Guess I have no rights to copy those files to the system's java directory.
I also tried "java -cp .:./activation.jar:./mail.jar -jar ./ins.jar". The error message is the same.
Anyway, it runs happily on my Windows machine. So let it be.
Thanks all for the good job!
Originally posted by swarna_bist
Hi ,
---------------
Step for installation
UNZIP inz.zip file
it should unzip the following files in c:\ins
ins.jar
ins.dat
case.txt
mail.jar
activation.jar
copy mail.jar and activation.jar to your C:\Program Files\Java\j2re1.4.2_03\lib\ext
edit ins.dat file as follow
infile=C:\\ins\\case.txt
outfile=C:\\ins\\stat.txt
datfile=c:\\ins\\stat.dat
smtp=smtp.hotmail.com
to=your.name@hotmail.com
from=your.name@hotmail.com
delay=3600000
ins.dat has to be in the same directory as ins.jar file.
---------------------------------------------------
i was completeed these steps ....
please let me know what arethe steps further i need to do ...
i am not a software litarate , please please let me know what are the steps i need to follow...
Thank You
Originally posted by summerwind
I hava modified the CaseStat.java and compiled it with javac.
But I do not know how do I put it back to the ins.jar? Use jar command? Can someone give me detailed instructions?
I am not familize with the java..
Thanks
Originally posted by ksam
I am getting the following exception message when I ran the program
what to do ??
Exception in thread "main" java.net.MalformedURLException: unknown protocol: https
at java.net.URL.<init>(URL.java:480)
at java.net.URL.<init>(URL.java:376)
at java.net.URL.<init>(URL.java:330)
at CaseStat.<init>(CaseStat.java:45)
at CaseStat.main(CaseStat.java:67)
Originally posted by ksam
I am connected to the internet. I can open IE and goto the same web page as in the URL code. Is there something I am missing here ?
Originally posted by GCcare
Dear Gurus,
I am a novice on Java & Windows. My platform is win-2k. I followed all instructions as said. After I ran the Ins.jar and it ran and created stat.txt and stat.dat files only and stat.txt is an empty file. Is the program behaving as expected ?.???.
Do I have to run the mail.jar and activation.jar files too.... I tried to run activation.jar and mail.jar files, and I got these errors.
---------------------------
Java Virtual Machine Launcher
---------------------------
Failed to load Main-Class manifest attribute from
C:\Program Files\Java\j2re1.4.2_03\lib\ext\activation.jar
---------------------------
OK
---------------------------