Hi Expert:
I had text pad on my computer and everything was fine. I then reformatted my computer and dowloaded a new textpad. It seems to work fine except when I try to compile a java file. When I compile I get a message box that states "the system cannot find the file specified." I can compile just fine from the Dos prompt. I have tried uninstalling and reinstalling and have even try putting my old copy of textpad back on, but I keep getting the same message. Any ideas?
Thanks
Can't compile java w/ textpad
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Re: Can't compile java w/ textpad
I have the same problem on my winxp pro system... let me know if you figure out a solution... i will let u know if i find out also..
thx,
ryan
thx,
ryan
Re: Can't compile java w/ textpad
well, i did figure out something...
i installed the java applet in the C:\Program Files\JavaSoft directory.
if you look in the C:\Program Files\JavaSoft\JRE\1.3.1_01\bin directory you will find the file java.exe... just make a copy of that file and copy it to the c:\windows\system32 directory. then rename the file to javac.exe.
the program then seemed like it would compile... i got an error in my main that i still have to check..probably my mistake though...good luck.
ryan
i installed the java applet in the C:\Program Files\JavaSoft directory.
if you look in the C:\Program Files\JavaSoft\JRE\1.3.1_01\bin directory you will find the file java.exe... just make a copy of that file and copy it to the c:\windows\system32 directory. then rename the file to javac.exe.
the program then seemed like it would compile... i got an error in my main that i still have to check..probably my mistake though...good luck.
ryan
Re: Can't compile java w/ textpad
To solve this, you can put in the correct path info in the registry. Go to:
HKEY_CURRENT_USER\Software\Helios\TextPad 4\Tools\1,2,or 3 and change the command key to reflect your current location of either the compiler, JVM or appletviewer.
Good luck,
J. C. W.
HKEY_CURRENT_USER\Software\Helios\TextPad 4\Tools\1,2,or 3 and change the command key to reflect your current location of either the compiler, JVM or appletviewer.
Good luck,
J. C. W.
Re: Can't compile java w/ textpad
all you really have to do is make sure java is installed, and then put the bin subdirectory of this installation into your path statement (not classpath)
Graham.
Graham.
Re: Can't compile java w/ textpad
Hi,
When I tried compiling a jva class
1. I got a file not found error. I copied javac into windows\system32 folder
2. having the jdkinstall\bin in the PATH did not help.
3 But now when i try to compile the same class I get the following error message.
I am using Win XP Pro.
***********
java.lang.NoClassDefFoundError: com/sun/tools/javac/Main
Exception in thread "main"
Tool completed with exit code 1
*************
Any clues?
thanks for your help.
rbs
When I tried compiling a jva class
1. I got a file not found error. I copied javac into windows\system32 folder
2. having the jdkinstall\bin in the PATH did not help.
3 But now when i try to compile the same class I get the following error message.
I am using Win XP Pro.
***********
java.lang.NoClassDefFoundError: com/sun/tools/javac/Main
Exception in thread "main"
Tool completed with exit code 1
*************
Any clues?
thanks for your help.
rbs
Re: Can't compile java w/ textpad
REf: CAn not compile with text pad
I have the same problem.I can compile and run with DOS.
Previolusly my textpad was working ok. Yesterday I downloaded sdk1.3.1 version and new Textpadeng450. I
When I try to compile, am getting the message "the system cannot find the file specified". I tried the solution of RYAN(copying java.exe and pasting in System32 (changed to javac.exe). STILL I AM GETTING THE SAME MESSAGE.
I hope some one will find a solution.
I am looking forward to hear the solution
TIA
JT
I have the same problem.I can compile and run with DOS.
Previolusly my textpad was working ok. Yesterday I downloaded sdk1.3.1 version and new Textpadeng450. I
When I try to compile, am getting the message "the system cannot find the file specified". I tried the solution of RYAN(copying java.exe and pasting in System32 (changed to javac.exe). STILL I AM GETTING THE SAME MESSAGE.
I hope some one will find a solution.
I am looking forward to hear the solution
TIA
JT