This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes javabeans: java.io.exception, compilation failed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "javabeans: java.io.exception, compilation failed" Watch "javabeans: java.io.exception, compilation failed" New topic
Author

javabeans: java.io.exception, compilation failed

Ji Li
Greenhorn

Joined: May 30, 2004
Posts: 19
using the JavaBeans tutorial from SUN web-site(http://java.sun.com/docs/books/tutorial/javabeans/),

and got the error while to generate Applet: java.io.exception compilation failed, while generating data for Myapplet.

The log shows the following error:
---------------------------------------------------------------------------
WARNING: Could not Runtime.exec(String) "javac" in the standard way: java.io.IOE
xception: CreateProcess: javac -classpath tmp\myApplet\myApplet_files;D:\assgn2\
beans\jars\juggler.jar;classes;..\lib\methodtracer.jar;..\infobus.jar -nowarn tm
p\myApplet\myApplet_files\MyApplet.java error=2

Check that the version of "javac" that you are running
is the one supplied with Sun's JDK1.x (which includes the
compiler classes) and not some other version of "java"
or JRE shipped with some other product.

---------------------------------------------------------------------------

The installed java software :j2re-1_4_1_07-windows-i586 and j2sdk-1_4_1_07-windows-i586


what step that I should do

- li

[ March 06, 2005: Message edited by: Ji Li ]
[ March 06, 2005: Message edited by: Ji Li ]
K Riaz
Ranch Hand

Joined: Jan 08, 2005
Posts: 375
Uninstall the JRE and do a fresh install of the JDK.
Ji Li
Greenhorn

Joined: May 30, 2004
Posts: 19
I uninstall JRE, and reinstall J2SDK, the problem still exists.

any suggest - li
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javabeans: java.io.exception, compilation failed
 
Similar Threads
error : as of release 1.4, assert is a keyword, and may not be used
package com.borland.jbcl.layout doesn't exist
java.io.Exception , Broken pipe
Java.io.exception
java.io.Exception