I am coding a program to transmit public key from a client to server.
// SERVER
import java.security.Key;
import java.security.KeyPair;
import java.security.KeyPairGenerator;
import...
Type: Posts; User: ttsdinesh
I am coding a program to transmit public key from a client to server.
// SERVER
import java.security.Key;
import java.security.KeyPair;
import java.security.KeyPairGenerator;
import...
Ya. i did it. again i am getting the same error .....:confused:
Actually i am not aware whether the related dll files are in the right path. Can u help me to place them at the right path?
Mr.Json, compiled my project using the following command, where "d:\java packages\hyperic-sigar-1.6.3\hyperic-sigar-1.6.3\sigar-bin\lib\sigar.jar" is the path of my sigar.jar.
There is no error....
I tried SIGAR to find the CPU info. I used the following code
package org.hyperic.sigar.cmd;
import org.hyperic.sigar.CpuPerc;
import org.hyperic.sigar.Sigar;
import...
Pal, follow my steps:
1. Copy ur program into the "bin" folder. For eg. copy ur program into "c:\jdk1.6\bin". U can compile ur program from ur current working directory itself. But it is little...
to compile this program
to run this program
I compiled ur program and found the following errors dude:
To fix this bug, do the following:
For 1st error:
public void House(double assvalue,...
To get value from user, use the following code
actually the "Double.parseDouble()" is used to convert input String type into Double. BUt i dont know how for this syntax works. If it does not...
ok thank u for all ur help
I am using JDK1.6. i need to create executable jar file. Do i need any IDE or its possible with jdk itself? If jdk can do it, how can i create executable jar file of my program.
this code will help u:
In the System.out.print('' "+" "+a[j]); line add spaces according to ur needs.
Note: Pass ur inputs during run time itself.
That is
U need to give space between...
Mr.Json, thank u for ur help. yet i have some doubts.Is "List<File> listFiles" in 1st line the class name or simply a method ? If it is a method, is it just enough to create an object and pass...
actually i have to create a list of all currently running processes. if a new process is started, it must be automatically paused and wait for user authentication. if user clicks OK, it should run,...
How to search all the local disks and list all the files present in the disk? how to detect the removable disk, so that i can search removable disks also. i will be helpfull if i can get a code...
Is it possible to control processes running ina system? i know its is difficult or not at all possible to control OS's processes. Atleast is there any way to control processes like vlc.exe,...
actually i am doing a project to attach hardware IDs with email. so that we can easily track the email. it will have uses in some other fields also.
i will be helpful if i have code snippet.coz i am new to java. thank u in advance.
sorry pal, as i am new to this forum, i am not able to mark it "answered". i am trying......
how to find the hardware ID like, Harddisk serial number, processor serial number, motherboard serial number, etc. in java?
its working pal....!!!! thanks a lot.
ok. let me try ur trick. thank you.
import javax.mail.*;
import javax.mail.internet.*;
import java.util.*;
import java.io.*;
class mailx
{
public static void main(String args[])throws Exception
{
Properties myprop=new...