November 23rd, 2011 02:26 AM
I have a text file as follows
total used free shared buffers cached
Mem: 7923 7875 47 0 564 3237
-/+...
November 22nd, 2011 12:42 AM
I have to retrieve numbers from a text file which is as shown in the attachment. I have written the following code snippet just to check if I am able to print the numbers in the file.
try {...
November 8th, 2011 11:55 PM
Hi,
I tried to download JFreechart library from
http://sourceforge.net/projects/jfreechart/.
It is not getting downloaded completely. Is there any other website where this library is...
October 7th, 2011 11:50 AM
Hey thanks a lot!!! :) :) It's working!!
October 7th, 2011 11:18 AM
It's compiling fine now after your reply @keang. How do I run it btw?
October 6th, 2011 08:44 PM
//code for SimpleDotCom
package dotGame;
public class SimpleDotCom {
int [] locationCells ;
int numOfHits = 0;
public void setLocationCells(int [] locs) {
locationCells = locs;
}
October 6th, 2011 10:38 AM
Hey, I got the solution. The code started working fine when I removed
package dotGame; from all the three classess!
But I didn't get the reason why!
October 6th, 2011 09:41 AM
Yes I have added the package to other classes and then compiled them too. The error still persists.
October 6th, 2011 03:46 AM
I am new to java. I am trying a simple game with three classes SimpleDotComGame, SimpleDotCom, GameHelper in three different .java files all put together in a directory dotGame. SimpleDotComGame.java...
October 2nd, 2011 10:50 AM
I have to develop an application similar to JConsole. As of now, I have created a form using Swing and have been able to retrieve all the log files. I am not getting how to go about linking these...
September 20th, 2011 05:06 AM
I have a log file in the system which records the hourly usage of memory. I have to write a code in java to plot this into a graph. I have heard of crystal reports and jasper reports but haven't...
September 19th, 2011 05:27 AM
September 13th, 2011 01:09 AM
The source file is located in a $LOGDATA/temp in the remote system. File name is MovePurge.krishna.090611 But the output says
scp: /temp/MovePurge.krishna.090611: No such file or directory.
If...
September 12th, 2011 11:04 PM
@nuzzle: I tried these steps. But I'm not getting the output.
This is example program from www.jcraft.com. Link to the program: http://www.jcraft.com/jsch/examples/ScpFrom.java. I need to know...
September 12th, 2011 04:37 AM
Hi,
I am trying a small piece of code to retrieve a file from remote system to the local system. This requires me to write the user, hostname and file names in the command prompt. Where do I give...
September 5th, 2011 03:47 AM
@keang: Agree with you.
@aamir121a: thanks. :)
August 30th, 2011 04:06 AM
Yeah ok I will try with SFTP. But when I try to open any file in the shell with the vi command, some files appear to contain lot of other junk data apart from what is actually present.
Moreover, I...
August 30th, 2011 01:03 AM
Yes @aamir121a it's ssh. Got to optimize the code.
August 29th, 2011 04:02 AM
Hi,
I have written the following code to establish connection to the remote unix machine which works fine. How do I retrieve a particular file from that system?
package my.userauthki;
...
August 29th, 2011 04:01 AM
Hi,
I have written the following code to establish connection to the remote unix machine which works fine. How I retrieve a particular file from that system.
package my.userauthki;
...
August 18th, 2011 12:06 AM
@AlberGM: Thanks. This is not my homework though! :) I will check out with the links u have given.
August 17th, 2011 01:33 AM
Hi,
I have Swing form with three fields- machine name, username and password. The machine is a unix operated system. I have to connect to that machine in the LAN with right validation. SSH...