Hey
You need to write a your native code to get the System Memory.
I can get u the virtual memory
Runtime.freeMemory();
Runtime.totalMemory();
Shyam Shyam
Hi Birney
This could be one Method of doing it.
1. First Validate the Number. If validation is success, then convert it to string and find the length.
If the length of the string is more than 2 then u can say invalid.
Shyam Shyam
Hey
use this first before opening up the connection
i.e before get connection.
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Then try
Shyam
Shyam
Conversion is need the reason is. If their are not interested in installation jre in the machine. Or only to use this application. Without Installation any type of Codes. How can u run Java.
Shyam Shyam
Hurrah I got the Probs.
When you use Javaw ClassName MyJarName.
In the ClassName class u don't have any main method to be invoked. That is the error it is raising when you try to run a class from the jar.
Please check up whether that class has main method or not.
Please check for it and run...
Please Look into iplanet website for signing the jar.
ww.iplanet.com and search for it. I downloaded the tool from this site and worked out.
You will get signtool based on your OS.
Shyam Shyam
Hi Please sign your applet and run your application. Then it is possible.
Are u opening the connection with the same server or to other server where the applet is downloaded. Then u need to sign it.
I mean Applet can open connection only to the server where it is downloaded from, otherwise u...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.