mismicky
asked on
Java class file to EXE FILE
How could i build the java class file to EXE FILE?
import java.io.*;
class readblood
{
public static void main(String args[]) throws Exception
{
BufferedReader buffereader=new BufferedReader(new FileReader("data1.txt"));
String instring;
String text="";
String outstring="";
int iRow=1;
int iIndex=0;
char cTemp;
while ((instring=buffereader.rea dLine())!= null)
{
text=text+instring;
}
buffereader.close();
cTemp=text.charAt(iIndex) ;
while(iIndex<text.length() )
{
cTemp=text.charAt(iIndex);
switch (cTemp)
{
case '' :
outstring=outstring+"\n‘æ" +iRow+"‘g: ";
iRow++;
break;
case '' :
outstring=outstring+(char) 13;
break;
default :
outstring=outstring+cTemp;
break;
}
iIndex++;
}
FileWriter filewriter=new FileWriter("micky2.txt");
filewriter.write(outstring );
filewriter.close();
}
}
import java.io.*;
class readblood
{
public static void main(String args[]) throws Exception
{
BufferedReader buffereader=new BufferedReader(new FileReader("data1.txt"));
String instring;
String text="";
String outstring="";
int iRow=1;
int iIndex=0;
char cTemp;
while ((instring=buffereader.rea
{
text=text+instring;
}
buffereader.close();
cTemp=text.charAt(iIndex) ;
while(iIndex<text.length()
{
cTemp=text.charAt(iIndex);
switch (cTemp)
{
case '' :
outstring=outstring+"\n‘æ"
iRow++;
break;
case '' :
outstring=outstring+(char)
break;
default :
outstring=outstring+cTemp;
break;
}
iIndex++;
}
FileWriter filewriter=new FileWriter("micky2.txt");
filewriter.write(outstring
filewriter.close();
}
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I will leave a recommendation in the Cleanup topic area that this question is:
- points to Ovi
Please leave any comments here within the
next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !
girionis
Cleanup Volunteer