Not yet finished, I'll post the complete version here.
Type: Posts; User: JosPhantasmE
Not yet finished, I'll post the complete version here.
I fixed the problem, thank you very much:
This is my actual code:
//By José D. Hernández, 2013.
import java.io.*;
import java.util.Scanner;
No it is not working property. This is what I have so far:
//By José D. Hernández, 2013.
import java.io.*;
public class ugh
{
public static void main(String args[]) throws...
That's all my code... I know is a mess, that's why I'm here, so I can learn and fix it.
So you understand better:
The purpose of this Java Program is to execute the "cmdkey /list" command...
Perfect, thank you, that solved my problem, I just deleted the "line=reader.readLine();" from while and is not giving me the error, but it start printing "yes" infinite times. Any ideas?
---...
Thanks you very much for your fast response, but I am still lost, in line 24 if I am not mistaken the variable does not have a null value, sirry for my ignorance I'm just learning.
--- Update ---...
The only variable with a null value is "While" and in the line 24 this is what is located "if(line.contains(look))". And in the matter of the null value of "while" I have no idea what to insert over...
Hi guys, my first post over here, I hope somebody can help me, thanks in advantage and sorry for my English.
I'm creating this simple program that read the information from a cmd variable and I...