FileOutputStream , j2me, com.sun.kvem.ktools.ExecutionException

Dear all,
please check it out the original code below, can anyone explain to me the problem and solution? Thank you.
import java.io.*;
import java.util.*;
import java.lang.Character;
import java.io.OutputStream;
public class engineConvertion{
     public engineConvertion(){}
//write a string to output file in format utf8
static void writeOutput(String str, String fname) {
try {
FileOutputStream fos = new FileOutputStream(fname);
Writer out = new OutputStreamWriter(fos, "UTF8");
out.write(str);
out.close();
} catch (IOException e) {
e.printStackTrace();
Here is the exception,
Project settings saved
Building "WMADemo"
C:\Documents and Settings\Student\j2mewtk\2.5.2\apps\WMADemo\src\example\sms\engineConvertion.java:16: cannot find symbol
symbol : class FileOutputStream
location: class engineConvertion
FileOutputStream fos = new FileOutputStream(fname);
^
C:\Documents and Settings\Student\j2mewtk\2.5.2\apps\WMADemo\src\example\sms\engineConvertion.java:16: cannot find symbol
symbol : class FileOutputStream
location: class engineConvertion
FileOutputStream fos = new FileOutputStream(fname);
^
2 errors
com.sun.kvem.ktools.ExecutionException
Build failed

HI,
Sorry, I dont understand your reply. What do u mean by it is a misunderstanding and that you are correct?

Similar Messages

  • I am getting com.sun.kvem.ktools.ExecutionException error

    Below is the error that I get in the console while building the midlet in J2ME Wireless ToolKit 2.0
    Building "ParseXML"
    C:\WTK20\apps\ParseXML\src\ParseXMLService.java:1: illegal character: \187
    +import javax.microedition.midlet.*;*+
    *^*
    C:\WTK20\apps\ParseXML\src\ParseXMLService.java:1: illegal character: \191+
    *import javax.microedition.midlet.*;
    +^+
    +2 errors+
    com.sun.kvem.ktools.ExecutionException
    Build failed
    Below is the actual java code
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.io.*;
    import java.io.*;
    //kxml imports
    import org.kxml.*;
    import org.kxml.parser.*;
    public class ParseXML extends MIDlet implements CommandListener {
    private Command exitCommand; // The exit command
    private Command displayXML; // On execution, it displays title and description
    // on phone screen
    private Display display; // The display for this MIDlet
    // UI Items for display of title and description on phone screen
    private static TextBox t;
    private static String textBoxString = "";
    // XML String
    private String xmlStr = "";
    public ParseXML() {
    display = Display.getDisplay( this );
    exitCommand = new Command( "Exit", Command.EXIT, 2 );
    displayXML = new Command( "XML", Command.SCREEN, 1 );
    // The XML String in form of RSS
    StringBuffer xmlString = new StringBuffer();
    xmlString.append("<?xml version=\"1.0\"?><!DOCTYPE rss PUBLIC \"-//Netscape Communications//DTD RSS 0.91//EN\"");
    xmlString.append("\"http://my.netscape.com/publish/formats/rss-0.91.dtd\">");
    xmlString.append("<rss version=\"0.91\">");
    xmlString.append("<channel><title>Meerkat: An Open Wire Service</title>");
    xmlString.append("<link>http://meerkat.oreillynet.com</link>");
    xmlString.append("<description>Meerkat is a Web-based syndicated content reader based on RSS (\"Rich Site Summary\"). RSS is a fantastic, simple-yet-powerful syndication system rapidly gaining momentum.");
    xmlString.append("</description><language>en-us</language>");
    xmlString.append("</channel>");
    xmlString.append("</rss>");
    xmlStr = xmlString.toString();
    public void startApp() {
    // The textbox displays title and description from a RSS String
    t = new TextBox( "MIDlet XML", "kXML", 256, 0 );
    t.addCommand( exitCommand );
    t.addCommand( displayXML );
    t.setCommandListener( this );
    display.setCurrent( t );
    Pause is a no-op since there are no background activities or
    record stores that need to be closed.
    public void pauseApp() { }
    Destroy must cleanup everything not handled by the garbage collector.
    In this case there is nothing to cleanup.
    public void destroyApp(boolean unconditional) { }
    Respond to commands, including exit. On the exit command, cleanup
    and notify that the MIDlet has been destroyed.
    public void commandAction(Command c, Displayable s) {
    if ( c == exitCommand ) {
    destroyApp( false );
    notifyDestroyed();
    else if ( c == displayXML ) {
    try {
    viewXML();
    catch( Exception e ) {
    e.printStackTrace();
    // This function sets up kxml parser and calls traverse() to parse the whole XML String
    public void viewXML() throws IOException {
    try {
    byte[] xmlByteArray = xmlStr.getBytes();
    ByteArrayInputStream xmlStream = new
    ByteArrayInputStream( xmlByteArray );
    InputStreamReader xmlReader = new
    InputStreamReader( xmlStream );
    XmlParser parser = new XmlParser( xmlReader );
    try
    traverse( parser, "" );
    catch (Exception exc)
    exc.printStackTrace();
    return;
    catch ( IOException e ) {
    return ;
    } finally {
    return ;
    Traverses the XML file
    public static void traverse( XmlParser parser, String indent ) throws Exception
    boolean leave = false;
    String title = new String();
    String desc = new String();
    do {
    ParseEvent event = parser.read ();
    ParseEvent pe;
    switch ( event.getType() ) {
    // For example, <title>
    case Xml.START_TAG:
    // see API doc of StartTag for more access methods
    // Pick up Title for display
    if ("title".equals(event.getName()))
    pe = parser.read();
    title = pe.getText();
    // Pick up description for display
    if ("description".equals(event.getName()))
    pe = parser.read();
    desc = pe.getText();
    textBoxString = title + " " + desc;
    traverse( parser, "" ) ; // recursion call for each <tag></tag>
    break;
    // For example </title?
    case Xml.END_TAG:
    leave = true;
    break;
    // For example </rss>
    case Xml.END_DOCUMENT:
    leave = true;
    break;
    // For example, the text between tags
    case Xml.TEXT:
    break;
    case Xml.WHITESPACE:
    break;
    default:
    } while( !leave );
    t.setString( textBoxString );

    Below is the error that I get in the console while building the midlet in J2ME Wireless ToolKit 2.0
    Building "ParseXML"
    C:\WTK20\apps\ParseXML\src\ParseXMLService.java:1: illegal character: \187
    import javax.microedition.midlet.;
    ^
    C:\WTK20\apps\ParseXML\src\ParseXMLService.java:1: illegal character: \191
    import javax.microedition.midlet.;
    ^
    2 errors
    com.sun.kvem.ktools.ExecutionException
    Build failed
    Below is the actual java code
    import javax.microedition.midlet.;
    import javax.microedition.lcdui.;
    import javax.microedition.io.;
    import java.io.;
    //kxml imports
    import org.kxml.;
    import org.kxml.parser.;
    public class ParseXML extends MIDlet implements CommandListener {
    private Command exitCommand; // The exit command
    private Command displayXML; // On execution, it displays title and description
    // on phone screen
    private Display display; // The display for this MIDlet
    // UI Items for display of title and description on phone screen
    private static TextBox t;
    private static String textBoxString = "";
    // XML String
    private String xmlStr = "";
    public ParseXML() {
    display = Display.getDisplay( this );
    exitCommand = new Command( "Exit", Command.EXIT, 2 );
    displayXML = new Command( "XML", Command.SCREEN, 1 );
    // The XML String in form of RSS
    StringBuffer xmlString = new StringBuffer();
    xmlString.append("<?xml version=\"1.0\"?><!DOCTYPE rss PUBLIC \"-//Netscape Communications//DTD RSS 0.91//EN\"");
    xmlString.append("\"http://my.netscape.com/publish/formats/rss-0.91.dtd\">");
    xmlString.append("<rss version=\"0.91\">");
    xmlString.append("<channel><title>Meerkat: An Open Wire Service</title>");
    xmlString.append("<link>http://meerkat.oreillynet.com</link>");
    xmlString.append("<description>Meerkat is a Web-based syndicated content reader based on RSS (\"Rich Site Summary\"). RSS is a fantastic, simple-yet-powerful syndication system rapidly gaining momentum.");
    xmlString.append("</description><language>en-us</language>");
    xmlString.append("</channel>");
    xmlString.append("</rss>");
    xmlStr = xmlString.toString();
    public void startApp() {
    // The textbox displays title and description from a RSS String
    t = new TextBox( "MIDlet XML", "kXML", 256, 0 );
    t.addCommand( exitCommand );
    t.addCommand( displayXML );
    t.setCommandListener( this );
    display.setCurrent( t );
    Pause is a no-op since there are no background activities or
    record stores that need to be closed.
    public void pauseApp() { }
    Destroy must cleanup everything not handled by the garbage collector.
    In this case there is nothing to cleanup.
    public void destroyApp(boolean unconditional) { }
    Respond to commands, including exit. On the exit command, cleanup
    and notify that the MIDlet has been destroyed.
    public void commandAction(Command c, Displayable s) {
    if ( c == exitCommand ) {
    destroyApp( false );
    notifyDestroyed();
    else if ( c == displayXML ) {
    try {
    viewXML();
    catch( Exception e ) {
    e.printStackTrace();
    // This function sets up kxml parser and calls traverse() to parse the whole XML String
    public void viewXML() throws IOException {
    try {
    byte[] xmlByteArray = xmlStr.getBytes();
    ByteArrayInputStream xmlStream = new
    ByteArrayInputStream( xmlByteArray );
    InputStreamReader xmlReader = new
    InputStreamReader( xmlStream );
    XmlParser parser = new XmlParser( xmlReader );
    try
    traverse( parser, "" );
    catch (Exception exc)
    exc.printStackTrace();
    return;
    catch ( IOException e ) {
    return ;
    } finally {
    return ;
    Traverses the XML file
    public static void traverse( XmlParser parser, String indent ) throws Exception
    boolean leave = false;
    String title = new String();
    String desc = new String();
    do {
    ParseEvent event = parser.read ();
    ParseEvent pe;
    switch ( event.getType() ) {
    // For example, <title>
    case Xml.START_TAG:
    // see API doc of StartTag for more access methods
    // Pick up Title for display
    if ("title".equals(event.getName()))
    pe = parser.read();
    title = pe.getText();
    // Pick up description for display
    if ("description".equals(event.getName()))
    pe = parser.read();
    desc = pe.getText();
    textBoxString = title " " desc;
    traverse( parser, "" ) ; // recursion call for each <tag></tag>
    break;
    // For example </title?
    case Xml.END_TAG:
    leave = true;
    break;
    // For example </rss>
    case Xml.END_DOCUMENT:
    leave = true;
    break;
    // For example, the text between tags
    case Xml.TEXT:
    break;
    case Xml.WHITESPACE:
    break;
    default:
    } while( !leave );
    t.setString( textBoxString );
    }

  • Com.sun.kvem.ktools.ExecutionException

    Hi,
    I am very new to j2me. I am currently working on my final year project and is using an open source program known as gcalsync. When i load the jar file into my mobile phone, it is able to work. However, when I run the program on my laptop, i encounter the following error. Please help, thanks..
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:5: class or interface expected
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:9: annotations are not supported in -source 1.3
    (use -source 5 or higher to enable annotations)
    by Greg Stein - mailto:[email protected] -->
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:9: class or interface expected
    by Greg Stein - mailto:[email protected] -->
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:71: <identifier> expected
    <table class="auto">
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:75: generics are not supported in -source 1.3
    (use -source 5 or higher to enable generics)
    <tr>
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:76: illegal start of type
    <td>Links to HEAD:</td>
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:76: illegal start of expression
    <td>Links to HEAD:</td>
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:76: '(' expected
    <td>Links to HEAD:</td>
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:76: ';' expected
    <td>Links to HEAD:</td>
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:76: <identifier> expected
    <td>Links to HEAD:</td>
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:76: <identifier> expected
    <td>Links to HEAD:</td>
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:78: illegal start of type
    (view)
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:78: illegal start of type
    (view)
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:78: > expected
    (view)
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:78: illegal start of expression
    (view)
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:78: ')' expected
    (view)
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:78: <identifier> expected
    (view)
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:78: <identifier> expected
    (view)
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:79: > expected
    (download)
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:79: <identifier> expected
    (download)
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:79: illegal start of type
    (download)
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:79: <identifier> expected
    (download)
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:81: > expected
    (annotate)
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:81: <identifier> expected
    (annotate)
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:81: illegal start of type
    (annotate)
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:81: <identifier> expected
    (annotate)
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:82: <identifier> expected
    </td>
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:82: <identifier> expected
    </td>
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:83: <identifier> expected
    </tr>
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:83: <identifier> expected
    </tr>
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:88: illegal start of type
    <td>Sticky Revision:</td>
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:88: illegal start of expression
    <td>Sticky Revision:</td>
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:88: '(' expected
    <td>Sticky Revision:</td>
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:88: <identifier> expected
    <td>Sticky Revision:</td>
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:88: <identifier> expected
    <td>Sticky Revision:</td>
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:88: <identifier> expected
    <td>Sticky Revision:</td>
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:89: illegal start of type
    <td><form method="get" action="/viewvc/gcalsync" style="display: inline">
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:89: > expected
    <td><form method="get" action="/viewvc/gcalsync" style="display: inline">
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:89: illegal start of expression
    <td><form method="get" action="/viewvc/gcalsync" style="display: inline">
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:89: '(' expected
    <td><form method="get" action="/viewvc/gcalsync" style="display: inline">
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:89: <identifier> expected
    <td><form method="get" action="/viewvc/gcalsync" style="display: inline">
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:89: ';' expected
    <td><form method="get" action="/viewvc/gcalsync" style="display: inline">
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:89: <identifier> expected
    <td><form method="get" action="/viewvc/gcalsync" style="display: inline">
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:90: > expected
    <input type="hidden" name="orig_pathtype" value="FILE" /><input type="hidden" name="orig_view" value="log" /><input type="hidden" name="orig_path" value="src/com/gcalsync/gcal/GCalClient.java" /><input type="hidden" name="view" value="redirect_pathrev" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:90: illegal start of expression
    <input type="hidden" name="orig_pathtype" value="FILE" /><input type="hidden" name="orig_view" value="log" /><input type="hidden" name="orig_path" value="src/com/gcalsync/gcal/GCalClient.java" /><input type="hidden" name="view" value="redirect_pathrev" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:90: <identifier> expected
    <input type="hidden" name="orig_pathtype" value="FILE" /><input type="hidden" name="orig_view" value="log" /><input type="hidden" name="orig_path" value="src/com/gcalsync/gcal/GCalClient.java" /><input type="hidden" name="view" value="redirect_pathrev" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:90: ';' expected
    <input type="hidden" name="orig_pathtype" value="FILE" /><input type="hidden" name="orig_view" value="log" /><input type="hidden" name="orig_path" value="src/com/gcalsync/gcal/GCalClient.java" /><input type="hidden" name="view" value="redirect_pathrev" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:90: <identifier> expected
    <input type="hidden" name="orig_pathtype" value="FILE" /><input type="hidden" name="orig_view" value="log" /><input type="hidden" name="orig_path" value="src/com/gcalsync/gcal/GCalClient.java" /><input type="hidden" name="view" value="redirect_pathrev" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:90: ';' expected
    <input type="hidden" name="orig_pathtype" value="FILE" /><input type="hidden" name="orig_view" value="log" /><input type="hidden" name="orig_path" value="src/com/gcalsync/gcal/GCalClient.java" /><input type="hidden" name="view" value="redirect_pathrev" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:90: <identifier> expected
    <input type="hidden" name="orig_pathtype" value="FILE" /><input type="hidden" name="orig_view" value="log" /><input type="hidden" name="orig_path" value="src/com/gcalsync/gcal/GCalClient.java" /><input type="hidden" name="view" value="redirect_pathrev" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:90: illegal start of expression
    <input type="hidden" name="orig_pathtype" value="FILE" /><input type="hidden" name="orig_view" value="log" /><input type="hidden" name="orig_path" value="src/com/gcalsync/gcal/GCalClient.java" /><input type="hidden" name="view" value="redirect_pathrev" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:90: > expected
    <input type="hidden" name="orig_pathtype" value="FILE" /><input type="hidden" name="orig_view" value="log" /><input type="hidden" name="orig_path" value="src/com/gcalsync/gcal/GCalClient.java" /><input type="hidden" name="view" value="redirect_pathrev" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:90: illegal start of expression
    <input type="hidden" name="orig_pathtype" value="FILE" /><input type="hidden" name="orig_view" value="log" /><input type="hidden" name="orig_path" value="src/com/gcalsync/gcal/GCalClient.java" /><input type="hidden" name="view" value="redirect_pathrev" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:90: <identifier> expected
    <input type="hidden" name="orig_pathtype" value="FILE" /><input type="hidden" name="orig_view" value="log" /><input type="hidden" name="orig_path" value="src/com/gcalsync/gcal/GCalClient.java" /><input type="hidden" name="view" value="redirect_pathrev" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:90: ';' expected
    <input type="hidden" name="orig_pathtype" value="FILE" /><input type="hidden" name="orig_view" value="log" /><input type="hidden" name="orig_path" value="src/com/gcalsync/gcal/GCalClient.java" /><input type="hidden" name="view" value="redirect_pathrev" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:90: <identifier> expected
    <input type="hidden" name="orig_pathtype" value="FILE" /><input type="hidden" name="orig_view" value="log" /><input type="hidden" name="orig_path" value="src/com/gcalsync/gcal/GCalClient.java" /><input type="hidden" name="view" value="redirect_pathrev" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:90: ';' expected
    <input type="hidden" name="orig_pathtype" value="FILE" /><input type="hidden" name="orig_view" value="log" /><input type="hidden" name="orig_path" value="src/com/gcalsync/gcal/GCalClient.java" /><input type="hidden" name="view" value="redirect_pathrev" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:90: <identifier> expected
    <input type="hidden" name="orig_pathtype" value="FILE" /><input type="hidden" name="orig_view" value="log" /><input type="hidden" name="orig_path" value="src/com/gcalsync/gcal/GCalClient.java" /><input type="hidden" name="view" value="redirect_pathrev" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:90: illegal start of expression
    <input type="hidden" name="orig_pathtype" value="FILE" /><input type="hidden" name="orig_view" value="log" /><input type="hidden" name="orig_path" value="src/com/gcalsync/gcal/GCalClient.java" /><input type="hidden" name="view" value="redirect_pathrev" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:90: > expected
    <input type="hidden" name="orig_pathtype" value="FILE" /><input type="hidden" name="orig_view" value="log" /><input type="hidden" name="orig_path" value="src/com/gcalsync/gcal/GCalClient.java" /><input type="hidden" name="view" value="redirect_pathrev" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:90: illegal start of expression
    <input type="hidden" name="orig_pathtype" value="FILE" /><input type="hidden" name="orig_view" value="log" /><input type="hidden" name="orig_path" value="src/com/gcalsync/gcal/GCalClient.java" /><input type="hidden" name="view" value="redirect_pathrev" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:90: <identifier> expected
    <input type="hidden" name="orig_pathtype" value="FILE" /><input type="hidden" name="orig_view" value="log" /><input type="hidden" name="orig_path" value="src/com/gcalsync/gcal/GCalClient.java" /><input type="hidden" name="view" value="redirect_pathrev" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:90: ';' expected
    <input type="hidden" name="orig_pathtype" value="FILE" /><input type="hidden" name="orig_view" value="log" /><input type="hidden" name="orig_path" value="src/com/gcalsync/gcal/GCalClient.java" /><input type="hidden" name="view" value="redirect_pathrev" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:90: <identifier> expected
    <input type="hidden" name="orig_pathtype" value="FILE" /><input type="hidden" name="orig_view" value="log" /><input type="hidden" name="orig_path" value="src/com/gcalsync/gcal/GCalClient.java" /><input type="hidden" name="view" value="redirect_pathrev" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:90: ';' expected
    <input type="hidden" name="orig_pathtype" value="FILE" /><input type="hidden" name="orig_view" value="log" /><input type="hidden" name="orig_path" value="src/com/gcalsync/gcal/GCalClient.java" /><input type="hidden" name="view" value="redirect_pathrev" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:90: <identifier> expected
    <input type="hidden" name="orig_pathtype" value="FILE" /><input type="hidden" name="orig_view" value="log" /><input type="hidden" name="orig_path" value="src/com/gcalsync/gcal/GCalClient.java" /><input type="hidden" name="view" value="redirect_pathrev" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:90: illegal start of expression
    <input type="hidden" name="orig_pathtype" value="FILE" /><input type="hidden" name="orig_view" value="log" /><input type="hidden" name="orig_path" value="src/com/gcalsync/gcal/GCalClient.java" /><input type="hidden" name="view" value="redirect_pathrev" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:90: > expected
    <input type="hidden" name="orig_pathtype" value="FILE" /><input type="hidden" name="orig_view" value="log" /><input type="hidden" name="orig_path" value="src/com/gcalsync/gcal/GCalClient.java" /><input type="hidden" name="view" value="redirect_pathrev" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:90: illegal start of expression
    <input type="hidden" name="orig_pathtype" value="FILE" /><input type="hidden" name="orig_view" value="log" /><input type="hidden" name="orig_path" value="src/com/gcalsync/gcal/GCalClient.java" /><input type="hidden" name="view" value="redirect_pathrev" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:90: <identifier> expected
    <input type="hidden" name="orig_pathtype" value="FILE" /><input type="hidden" name="orig_view" value="log" /><input type="hidden" name="orig_path" value="src/com/gcalsync/gcal/GCalClient.java" /><input type="hidden" name="view" value="redirect_pathrev" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:90: ';' expected
    <input type="hidden" name="orig_pathtype" value="FILE" /><input type="hidden" name="orig_view" value="log" /><input type="hidden" name="orig_path" value="src/com/gcalsync/gcal/GCalClient.java" /><input type="hidden" name="view" value="redirect_pathrev" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:90: <identifier> expected
    <input type="hidden" name="orig_pathtype" value="FILE" /><input type="hidden" name="orig_view" value="log" /><input type="hidden" name="orig_path" value="src/com/gcalsync/gcal/GCalClient.java" /><input type="hidden" name="view" value="redirect_pathrev" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:90: ';' expected
    <input type="hidden" name="orig_pathtype" value="FILE" /><input type="hidden" name="orig_view" value="log" /><input type="hidden" name="orig_path" value="src/com/gcalsync/gcal/GCalClient.java" /><input type="hidden" name="view" value="redirect_pathrev" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:90: <identifier> expected
    <input type="hidden" name="orig_pathtype" value="FILE" /><input type="hidden" name="orig_view" value="log" /><input type="hidden" name="orig_path" value="src/com/gcalsync/gcal/GCalClient.java" /><input type="hidden" name="view" value="redirect_pathrev" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:90: illegal start of expression
    <input type="hidden" name="orig_pathtype" value="FILE" /><input type="hidden" name="orig_view" value="log" /><input type="hidden" name="orig_path" value="src/com/gcalsync/gcal/GCalClient.java" /><input type="hidden" name="view" value="redirect_pathrev" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:92: > expected
    <input type="text" name="pathrev" value="" size="6"/>
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:92: illegal start of expression
    <input type="text" name="pathrev" value="" size="6"/>
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:92: <identifier> expected
    <input type="text" name="pathrev" value="" size="6"/>
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:92: ';' expected
    <input type="text" name="pathrev" value="" size="6"/>
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:92: <identifier> expected
    <input type="text" name="pathrev" value="" size="6"/>
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:92: ';' expected
    <input type="text" name="pathrev" value="" size="6"/>
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:92: <identifier> expected
    <input type="text" name="pathrev" value="" size="6"/>
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:92: ';' expected
    <input type="text" name="pathrev" value="" size="6"/>
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:92: <identifier> expected
    <input type="text" name="pathrev" value="" size="6"/>
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:92: illegal start of expression
    <input type="text" name="pathrev" value="" size="6"/>
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:94: > expected
    <input type="submit" value="Set" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:94: illegal start of expression
    <input type="submit" value="Set" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:94: <identifier> expected
    <input type="submit" value="Set" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:94: ';' expected
    <input type="submit" value="Set" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:94: <identifier> expected
    <input type="submit" value="Set" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:94: illegal start of expression
    <input type="submit" value="Set" />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:95: illegal start of type
    </form>
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:97: illegal start of type
    </td>
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:98: illegal start of type
    </tr>
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:99: illegal start of type
    </table>
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:110: illegal start of expression
    <hr />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:110: illegal start of expression
    <hr />
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:112: > expected
    <a name="rev20"></a>
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:112: illegal start of expression
    <a name="rev20"></a>
    ^
    C:\WTK2.5.1\apps\GCalSync\src\gcalsync\gcal\GCalClient.java:112: <identifier> expected
    <a name="rev20"></a>
    ^
    100 errors
    com.sun.kvem.ktools.ExecutionException
    Build failed

    HI,
    Sorry, I dont understand your reply. What do u mean by it is a misunderstanding and that you are correct?

  • Missing class com.sun.kvem.ktools.RunRetro for RetroGuard in WTK 2.5 ?

    I just download and try WTK2.5 today, I changed the file ktoos.properties to use Retroguard as the document said, the toolkit shown the following error message while building the app!
    The obfuscation class file can not be loaded.
    com.sun.kvem.ktools.RunRetro
    Warning: java.lang.ClassNotFoundException: com.sun.kvem.ktools.RunRetro
    Obfuscation failed.
    then, I checked that ..\wtklib\ktools.zip does not contain the class com.sun.kvem.ktools.RunRetro, it just contains the class com.sun.kvem.ktools.RunPro for Proguard!
    is that a bug? or anything i am missing?

    I just download and try WTK2.5 today, I changed the file ktoos.properties to use Retroguard as the document said, the toolkit shown the following error message while building the app!
    The obfuscation class file can not be loaded.
    com.sun.kvem.ktools.RunRetro
    Warning: java.lang.ClassNotFoundException: com.sun.kvem.ktools.RunRetro
    Obfuscation failed.
    then, I checked that ..\wtklib\ktools.zip does not contain the class com.sun.kvem.ktools.RunRetro, it just contains the class com.sun.kvem.ktools.RunPro for Proguard!
    is that a bug? or anything i am missing?

  • Com.sun.kvem.midletsuite.InvalidJadException: Reason = 13 error!

    I get this error in WTK2.1 while trying to create package. Even the demos cannot be packaged.
    The exact error is:
    com.sun.kvem.midletsuite.InvalidJadException: Reason = 13
    The file C:\WTK21\apps\photoalbum\bin\MANIFEST.MF is missing the required attribute: MIDlet-Name
    The parameters are correctly set in Settings (the program above is a demo packaged with WTK2.1)
    Any help is appreciated. I use Windows XP.

    strange, check if the manifest looks like this one
    MIDlet-1: PhotoAlbum,, example.photoalbum.PhotoAlbum
    MIDlet-Data-Size: 256
    MIDlet-Description: Photoalbum of images
    MIDlet-Name: PhotoAlbum
    MIDlet-Permissions: javax.microedition.io.Connector.http
    MIDlet-Vendor: Sun Microsystems, Inc.
    MIDlet-Version: 2.0
    MicroEdition-Configuration: CLDC-1.0
    MicroEdition-Profile: MIDP-2.0
    if not, there is something wrong. These lines above are from my manifest and it works. Maybe you made some strange settings about the MIDlet-Name?
    hth
    Kay

  • Exception in thread "main" com.sun.jdi.InternalException: Unexpected JDWP E

    I�m trying to write program to debug J2ME applications running on emulators. I�ve made a connection to the virtual machine that starts and run the application on the emulator. When i try to execute the method AllClasses() from the virtual machine object i get the exception:
    Exception in thread "main" com.sun.jdi.InternalException: Unexpected JDWP Error: 41
         at com.sun.tools.jdi.JDWPException.toJDIException(JDWPException.java:47)
         at com.sun.tools.jdi.VirtualMachineImpl.retrieveAllClasses1_4(VirtualMachineImpl.java:864)
         at com.sun.tools.jdi.VirtualMachineImpl.retrieveAllClasses(VirtualMachineImpl.java:892)
         at com.sun.tools.jdi.VirtualMachineImpl.allClasses(VirtualMachineImpl.java:258)
    Hope you can help me.
    Thanks.

    com.sun.jdi.InternalException: Unexpected JDWP Error: 41It appears the J2ME VM returned JDWP_Error_NOT_FOUND (41).
    J2ME implements a subset of the J2SE JDI interface.
    Is AllClasses() supported?
    I�ve made a connection to the virtual machine that starts and run the application on the emulator.What other JDI operations are you able to do?

  • Java.lang.NoClassDefFoundError: Login: com/sun/gi/comm/users/client/JMEClie

    I am getting this error when i am ruunning my j2me program in eclipse 3.2 >>>>
    The default color phone emulator og the j2me disappear after launching...
    Can anybody please tell whats the problem?
    <Error code>
    java.lang.NoClassDefFoundError: Login: com/sun/gi/comm/users/client/JMEClientListenerInterface
    at com.sun.midp.midlet.MIDletState.createMIDlet(+14)
    at com.sun.midp.midlet.Scheduler.schedule(+52)
    at com.sun.midp.main.Main.runLocalClass(+28)
    at com.sun.midp.main.Main.main(+116

    When i executing J2ME program m getting the error
    java.lang.NoClassDefFoundError: com/sun/midp/midlet/MIDletState
    Exception in thread "main"
    Can anyone plz help in this

  • Dumb newbie question - where do I download com.sun.web.me.*?

    Hi,
    I am new to j2me programming & have just started developing apps for mobile phones. So far so good, I have Netbeans 5.5.1 with the mobility pack and have created a couple of Midlets already. To braoden my knowledge, I have downloaded a coupe of samples from https://meapplicationdevelopers.dev.java.net/ but when I try and build them, I get errors regarding the import of classes com.sun.me.web.*
    Where/how can I download & install these libraries for use in Netbeans 5.5.1?
    Many thanks
    Chris

    Thanks for the response,
    I have serached my computer for anything that looks like it might contain the required libraries, but top no avail
    My code has the following lines which the compiler objects to:
    import com.sun.me.web.path.Result;
    import com.sun.me.web.path.ResultException;
    import com.sun.me.web.request.Arg;
    import com.sun.me.web.request.ProgressInputStream;
    import com.sun.me.web.request.ProgressListener;
    import com.sun.me.web.request.Request;
    import com.sun.me.web.request.RequestListener;
    import com.sun.me.web.request.Response;
    so any help on where I might find them would be appreciated

  • Where can I find com.sun.xml.tree?

    Recently I was using java to achieve the transformation process from XML document to HTML document. The XML processor is Xalan-J. Of course, I also used Java API for XML(JAXP). During the process, I would use XMLDocument object, which need the help of com.sun.xml.tree, but I cannot find this package.
    Could you please tell me where I can find it?
    SDK's version:1.4.1
    Xalan-J's version:2.5
    JAXP's version:1.2

    To DevMentee: Thanks for your codes.
    I also coded pieces of programme to achieve my goal avoiding that package:
    import java.io.FileNotFoundException;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerConfigurationException;
    import javax.xml.transform.TransformerException;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.stream.StreamResult;
    import javax.xml.transform.stream.StreamSource;
    public class SimpleTransform
    public static void main(String[] args)
    throws TransformerException, TransformerConfigurationException,
    FileNotFoundException, IOException
    TransformerFactory tFactory = TransformerFactory.newInstance();
    Transformer transformer = tFactory.newTransformer(new StreamSource("transform.xsl"));
    transformer.transform(new StreamSource("myfile.xml"), new StreamResult(new FileOutputStream("myfile.html")));
    System.out.println("*** The result is myfile.html ***");

  • SSL com.sun.midp.ssl API Doc

    Hi
    Does anyone know the location of ssl API Doc for J2ME ?
    I searched all over the google and yahoo but still can't find it.
    Nokia has a package ssl.jar, but their Developer Suite for J2ME doesn't contain this package API.
    Cheers...

    What�s the difference between theese two packages:
    javax.net.ssl.*;
    com.sun.net.ssl.*;the former seems to be an old version of the latter..
    is this correct?This link might interest you:
    http://java.sun.com/products/jdk/faq/faq-sun-packages.html

  • Please help: com.sun.midp.installer.InvalidJadException: Reason = 2

    Hello,
    Im getting the following error when trying to run a J2ME MIDlet app. (I'm using sun wireless toolkit 2.52):
    com.sun.midp.installer.InvalidJadException: Reason = 2
    at com.sun.midp.security.Permissions.openPropertiesFile(), bci=100
    at com.sun.midp.security.Permissions.readPermissionsTable(), bci=8
    at com.sun.midp.security.Permissions.initialized(Permissions.java:1122)
    at com.sun.midp.security.Permissions.getUntrustedDomainName(Permissions.java:385)
    at com.sun.midp.security.Permissions.forDomain(), bci=141
    at com.sun.midp.installer.InternalMIDletSuiteImpl.initSecurityHandler(), bci=14
    at com.sun.midp.installer.InternalMIDletSuiteImpl.setTempProperty(), bci=423
    at com.sun.midp.main.MIDletSuiteLoader.main(), bci=1011
    I'm using windows 7. permission to read the files is set. So what's wrong? Thanks in advance.

    Hi,
    when i create the project and give class name then folders created are:
    bin
    lib
    src
    res
    and a properties file project
    Now i m placing the .java file in the src folder .
    Then when i build..it shows
    build Initializing in a small pop-up window and then in toolkit it displays
    No sources to compile
    Build failed..
    in the bin folder teher was onlu manifest and jad file ..no jar file was created ,i thnk thats why it showed " No sources to compile ".
    please tell me where to find the .jar file .
    or any settings i need to configure?

  • Error during generation of the WSDL:  BUILD FAILED java.lang.NoClassDefFoundError: com/sun/javadoc/Type

    When I create an EJB Transport Business Service, after selecting the jar that has the EJB 2.1 artefacts (Remote, Home, etc) the oepe plugin fails and can't continue.
    As I understand it seems that there is a problem with the classpath of ant build.xml  that oepe creates inside folder /tmp/alsbejbtransport/ to compile the bs and generate the wsdl. I checked if tools.jar is in the classpath (in eclipse) and is included, so I can't figure out wich is the problem.
    I found this in Oracle, but not helps solve the problem:
    BEA-398120
    Error: The WSDL for the typed transport endpoint could not be accessed.
    Description
    There was a problem retrieving the WSDL from the typed transport service endpoint at the time of service registration
    Action
    Contact technical support
    This is the the full stacktrace that shows eclipse.
    Generate : Error during generation of the WSDL:
    BUILD FAILED
    java.lang.NoClassDefFoundError: com/sun/javadoc/Type
            at com.bea.util.jam.provider.JamServiceFactoryImpl.createSourceBuilder(JamServiceFactoryImpl.java:205)
            at com.bea.util.jam.provider.JamServiceFactoryImpl.createBuilder(JamServiceFactoryImpl.java:158)
            at com.bea.util.jam.provider.JamServiceFactoryImpl.createClassLoader(JamServiceFactoryImpl.java:137)
            at com.bea.util.jam.provider.JamServiceFactoryImpl.createService(JamServiceFactoryImpl.java:78)
            at weblogic.wsee.util.JamUtil.parseSource(JamUtil.java:152)
            at weblogic.wsee.tools.anttasks.JwsLoader.loadJClasses(JwsLoader.java:186)
            at weblogic.wsee.tools.anttasks.JwsLoader.load(JwsLoader.java:75)
            at weblogic.wsee.tools.anttasks.JwsModule.loadWebServices(JwsModule.java:569)
            at weblogic.wsee.tools.anttasks.JwsModule.generate(JwsModule.java:369)
            at weblogic.wsee.tools.anttasks.JwsModule.build(JwsModule.java:256)
            at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:184)
            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
            at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:601)
            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
            at org.apache.tools.ant.Task.perform(Task.java:348)
            at org.apache.tools.ant.Target.execute(Target.java:357)
            at org.apache.tools.ant.Target.performTasks(Target.java:385)
            at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
            at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
            at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
            at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
            at org.apache.tools.ant.Main.runBuild(Main.java:758)
            at org.apache.tools.ant.Main.startAnt(Main.java:217)
            at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
            at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    Caused by: java.lang.ClassNotFoundException: com.sun.javadoc.Type
            at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1400)
            at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1341)
            at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1088)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
            ... 27 more
    Total time: 0 seconds
    Eclipse Installation details:
    *** System properties:
    eclipse.application=org.eclipse.ui.ide.workbench
    eclipse.buildId=M20110909-1335
    eclipse.commands=-os
    linux
    -ws
    gtk
    -arch
    x86_64
    -showsplash
    -launcher
    {home}/Development/oepe-indigo/eclipse
    -name
    Eclipse
    --launcher.library
    {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so
    -startup
    {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    --launcher.overrideVmargs
    -exitdata
    1e418010
    -vm
    /usr/bin/java
    eclipse.home.location=file:{home}/Development/oepe-indigo/
    eclipse.launcher={home}/Development/oepe-indigo/eclipse
    eclipse.launcher.name=Eclipse
    [email protected]/../p2/
    eclipse.p2.profile=PlatformProfile
    eclipse.product=org.eclipse.platform.ide
    eclipse.startTime=1374623921455
    eclipse.vm=/usr/bin/java
    eclipse.vmargs=-Xms256m
    -Xmx768m
    -XX:MaxPermSize=512m
    -Dsun.lang.ClassLoader.allowArraySyntax=true
    -Dweblogic.home={home}/Oracle/Middleware/wlserver_10.3
    -Dharvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester
    -Dosb.home={home}/Oracle/Middleware/Oracle_OSB1
    -Dosgi.bundlefile.limit=750
    -Dosgi.nl=en_US
    -Dmiddleware.home={home}/Oracle/Middleware
    -jar
    {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    equinox.use.ds=true
    file.encoding=UTF-8
    file.encoding.pkg=sun.io
    file.separator=/
    guice.disable.misplaced.annotation.check=true
    harvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester
    http.nonProxyHosts=localhost
    java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
    java.awt.printerjob=sun.print.PSPrinterJob
    java.class.path={home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    java.class.version=50.0
    java.endorsed.dirs=/usr/lib/jvm/jdk1.6.0_45/jre/lib/endorsed
    java.ext.dirs=/usr/lib/jvm/jdk1.6.0_45/jre/lib/ext:/usr/java/packages/lib/ext
    java.home=/usr/lib/jvm/jdk1.6.0_45/jre
    java.io.tmpdir=/tmp
    java.library.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64/server:/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64:/usr/lib/jvm/jdk1.6.0_45/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
    java.protocol.handler.pkgs=null|com.bea.wli.sb.resources.url|com.bea.wli.sb.resources.jca.upgrade.url|weblogic.utils|weblogic.utils|weblogic.utils|weblogic.net|weblogic.net
    java.runtime.name=Java(TM) SE Runtime Environment
    java.runtime.version=1.6.0_45-b06
    java.specification.name=Java Platform API Specification
    java.specification.vendor=Sun Microsystems Inc.
    java.specification.version=1.6
    java.vendor=Sun Microsystems Inc.
    java.vendor.url=http://java.sun.com/
    java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
    java.version=1.6.0_45
    java.vm.info=mixed mode
    java.vm.name=Java HotSpot(TM) 64-Bit Server VM
    java.vm.specification.name=Java Virtual Machine Specification
    java.vm.specification.vendor=Sun Microsystems Inc.
    java.vm.specification.version=1.0
    java.vm.vendor=Sun Microsystems Inc.
    java.vm.version=20.45-b01
    javax.rmi.CORBA.PortableRemoteObjectClass=weblogic.iiop.PortableRemoteObjectDelegateImpl
    javax.rmi.CORBA.UtilClass=weblogic.iiop.UtilDelegateImpl
    jna.platform.library.path=/usr/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnu:/lib64:/usr/lib:/lib
    line.separator=
    middleware.home={home}/Oracle/Middleware
    oracle.eclipse.tools.weblogic.ui.isWebLogicServer=true
    org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog
    org.eclipse.equinox.launcher.splash.location={home}/Development/oepe-indigo/plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
    org.eclipse.equinox.simpleconfigurator.configUrl=file:org.eclipse.equinox.simpleconfigurator/bundles.info
    org.eclipse.m2e.log.dir={home}/workspace/pragma/.metadata/.plugins/org.eclipse.m2e.logback.configuration
    org.eclipse.update.reconcile=false
    org.omg.CORBA.ORBClass=weblogic.corba.orb.ORB
    org.omg.CORBA.ORBSingletonClass=weblogic.corba.orb.ORB
    org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1,OSGi/Minimum-1.2,JRE-1.1,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5,JavaSE-1.6
    org.osgi.framework.language=en
    org.osgi.framework.os.name=Linux
    org.osgi.framework.os.version=3.8.0
    org.osgi.framework.processor=x86-64
    org.osgi.framework.system.capabilities=osgi.ee; osgi.ee="OSGi/Minimum"; version:List<Version>="1.0, 1.1, 1.2",osgi.ee; osgi.ee="JavaSE"; version:List<Version>="1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6"
    org.osgi.framework.system.packages=javax.accessibility,javax.activation,javax.activity,javax.annotation,javax.annotation.processing,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.jws,javax.jws.soap,javax.lang.model,javax.lang.model.element,javax.lang.model.type,javax.lang.model.util,javax.management,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.script,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.tools,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.bind,javax.xml.bind.annotation,javax.xml.bind.annotation.adapters,javax.xml.bind.attachment,javax.xml.bind.helpers,javax.xml.bind.util,javax.xml.crypto,javax.xml.crypto.dom,javax.xml.crypto.dsig,javax.xml.crypto.dsig.dom,javax.xml.crypto.dsig.keyinfo,javax.xml.crypto.dsig.spec,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.soap,javax.xml.stream,javax.xml.stream.events,javax.xml.stream.util,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stax,javax.xml.transform.stream,javax.xml.validation,javax.xml.ws,javax.xml.ws.handler,javax.xml.ws.handler.soap,javax.xml.ws.http,javax.xml.ws.soap,javax.xml.ws.spi,javax.xml.ws.wsaddressing,javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.css,org.w3c.dom.events,org.w3c.dom.html,org.w3c.dom.ls,org.w3c.dom.ranges,org.w3c.dom.stylesheets,org.w3c.dom.traversal,org.w3c.dom.views,org.w3c.dom.xpath,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers
    org.osgi.framework.uuid=901615cd-f3f3-0012-11b6-a3bca4d97ac1
    org.osgi.framework.vendor=Eclipse
    org.osgi.framework.version=1.6.0
    org.osgi.supports.framework.extension=true
    org.osgi.supports.framework.fragment=true
    org.osgi.supports.framework.requirebundle=true
    os.arch=amd64
    os.name=Linux
    os.version=3.8.0-26-generic
    osb.home={home}/Oracle/Middleware/Oracle_OSB1
    osgi.arch=x86_64
    osgi.bundlefile.limit=750
    osgi.bundles=reference:file:javax.transaction_1.1.1.v201105210645.jar,reference:file:org.eclipse.equinox.simpleconfigurator_1.0.200.v20110502-1955.jar@1:start
    osgi.bundles.defaultStartLevel=4
    osgi.bundlestore={home}/Development/oepe-indigo/configuration/org.eclipse.osgi/bundles
    osgi.configuration.area=file:{home}/Development/oepe-indigo/configuration/
    osgi.framework=file:{home}/Development/oepe-indigo/plugins/org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar
    osgi.framework.extensions=reference:file:javax.transaction_1.1.1.v201105210645.jar
    osgi.framework.shape=jar
    osgi.framework.version=3.7.1.R37x_v20110808-1106
    osgi.frameworkClassPath=., file:{home}/Development/oepe-indigo/plugins/javax.transaction_1.1.1.v201105210645.jar
    osgi.install.area=file:{home}/Development/oepe-indigo/
    osgi.instance.area=file:{home}/workspace/pragma/
    osgi.instance.area.default=file:{home}/workspace/
    osgi.logfile={home}/workspace/pragma/.metadata/.log
    osgi.manifest.cache={home}/Development/oepe-indigo/configuration/org.eclipse.osgi/manifests
    osgi.nl=en_US
    osgi.nl.user=en_US
    osgi.os=linux
    osgi.splashLocation={home}/Development/oepe-indigo/plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
    osgi.splashPath=platform:/base/plugins/org.eclipse.platform
    osgi.syspath={home}/Development/oepe-indigo/plugins
    osgi.tracefile={home}/workspace/pragma/.metadata/trace.log
    osgi.ws=gtk
    path.separator=:
    securerandom.source=file:/dev/./urandom
    socksNonProxyHost=localhost
    sun.arch.data.model=64
    sun.boot.class.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/resources.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/rt.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/sunrsasign.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/jsse.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/jce.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/charsets.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/jdk1.6.0_45/jre/classes
    sun.boot.library.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64
    sun.cpu.endian=little
    sun.cpu.isalist=
    sun.desktop=gnome
    sun.io.unicode.encoding=UnicodeLittle
    sun.java.command={home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar -os linux -ws gtk -arch x86_64 -showsplash -launcher {home}/Development/oepe-indigo/eclipse -name Eclipse --launcher.library {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so -startup {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar --launcher.overrideVmargs -exitdata 1e418010 -vm /usr/bin/java -vmargs -Xms256m -Xmx768m -XX:MaxPermSize=512m -Dsun.lang.ClassLoader.allowArraySyntax=true -Dweblogic.home={home}/Oracle/Middleware/wlserver_10.3 -Dharvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester -Dosb.home={home}/Oracle/Middleware/Oracle_OSB1 -Dosgi.bundlefile.limit=750 -Dosgi.nl=en_US -Dmiddleware.home={home}/Oracle/Middleware -jar {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    sun.java.launcher=SUN_STANDARD
    sun.jnu.encoding=UTF-8
    sun.lang.ClassLoader.allowArraySyntax=true
    sun.management.compiler=HotSpot 64-Bit Tiered Compilers
    sun.os.patch.level=unknown
    svnkit.http.methods=Basic
    svnkit.library.gnome-keyring.enabled=false
    user.country=AR
    user.dir={home}/Development/oepe-indigo
    user.home={home}
    user.language=es
    user.name={username}
    user.timezone=America/Argentina/Buenos_Aires
    weblogic.home={home}/Oracle/Middleware/wlserver_10.3
    Thanks!!

    run this one in command prompt and then convert the applet using converter tool
    JC_HOME = C:\java_card_kit-2_2_2\bin\
    set CLASSES=%JCHOME%\lib\apduio.jar;%JC_HOME%\lib\apdutool.jar;%JC_HOME%\lib\jcwde.jar;%JC_HOME%\lib\converter.jar;%JC_HOME%\lib\scriptgen.jar;%JC_HOME%\lib\offcardverifier.jar;%JC_HOME%\lib\api.jar;%JC_HOME%\lib\installer.jar;%JC_HOME%\lib\capdump.jar;
    D:\NareshPalle\jcardRE\Smart\src>java -classpath %_CLASSES% com.sun.javacard.con
    verter.Converter -out EXP JCA CAP -exportpath .\exp -applet 0x0a:0x00:0x00:0x00:0x0e:0x01:0x02:
    0x03:0x04:0x05:0x06 PackageName appletName 0x01:0x02:0x03:0x04:0x05:0x0
    6:0x07:0x08 1.0
    or
    go to following directory and run the converter tool in command prompt
    step 1: cd C:\java_card_kit-2_2_2\bin\
    then run this command under the above directory
    step 2:converter -classdir E:\Pathof Your applet class file -out EXP JCA CAP -exportpath E:\path of exp files folder -applet AID PackageName AppletName PackAID major.minor no
    For more doubts mail me....
    *[removed by moderator]*
    Thanks and Regards
    NareshPalle
    Edited by: EJP on 31/03/2012 20:09: removed your email address. Unless you like spam and unless you think these forums are provided for your personal benefit only, posting an email address here serves no useful purpose whatsoever.

  • Com.sun.tools.javac.Main: method compile errors

    I had a working web project the other day, and something happened that caused every page to start throwing this error:
    # javax.servlet.ServletException: com.sun.tools.javac.Main: method compile([Ljava/lang/String;Ljava/io/PrintWriter;)I not found
    # at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:779)
    # at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    # at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
    # at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
    # at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
    # at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
    # at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
    # at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
    # at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
    # at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:978)
    # at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564)
    # at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
    # at com.mayco.mvc.MVCServlet.processRequest(MVCServlet.java:426)
    # at com.mayco.ldap.MayServlet.service(MayServlet.java:415)
    # at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
    # at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
    # at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
    # at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
    # at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
    # at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
    # at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
    # at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:76)
    # at com.mayco.cy.filter.AuthenticateFilter.doFilter(AuthenticateFilter.java:167)
    # at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:132)
    # at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:71)
    # at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:974)
    # at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564)
    # at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
    # at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
    # at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
    # at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
    # at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
    # at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
    # at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
    # at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
    # at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
    # at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)
    I tried setting up a clean environment (server, EAR, web project), but haven't been able to re-solve the problem I had with the original project yet.  If I could get a starting point to look for how to solve this type of error it would be greatly appreciated!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    I checked my JDK compliance (1.4) and the installed JREs (Standard VM; WebSphere v5.1 EE JRE; C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51_stub\java\jre)
    I did notice that it was using the JRE System LIbrary [WebSphere v5.1 JRE] and I changed it to the WebSphere v5.1 EE JRE like I think it should have been...
    and the web server startup begins with:
    *** Starting the server ***
    ************ Start Display Current Environment ************
    WebSphere Platform 5.1 [BASE 5.1.0.3 cf30412.02] [JDK 1.4.1 b0344.02] running with process name localhost\localhost\server1 and process id 2692
    Host Operating System is Windows XP, version 5.1
    Java version = J2RE 1.4.1 IBM Windows 32 build cn1411-20031011 (JIT enabled: jitc), Java Compiler = jitc, Java VM name = Classic VM
    was.install.root = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51
    user.install.root = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51
    Java Home = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51\java\jre
    ws.ext.dirs = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/java/lib;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/classes;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/classes;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/lib;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/lib/ext;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/web/help;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime;C:/Program Files/IBM/SQLLIB/java/db2java.zip;C:/Program Files/IBM/WebSphere Studio/Application Developer/v5.1.2/wstools/eclipse/plugins/com.ibm.etools.webservice_5.1.2/runtime/worf.jar
    Classpath = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/properties;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/properties;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/lib/bootstrap.jar;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/lib/j2ee.jar;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/lib/lmproxy.jar;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/lib/urlprotocols.jar;C:\WebSphere\properties;C:\spi4j2.5.4_J2ee1.4\clientLib\XEES.jar;C:\spi4j2.5.4_J2ee1.4\clientLib\bcprov-jdk14-139.jar;C:\spi4j2.5.4_J2ee1.4\clientLib\config.jar;C:\spi4j2.5.4_J2ee1.4\clientLib\spi4jStub_2.5.4.jar;C:\spi4j2.5.4_J2ee1.4\clientLib\XEES100J.jar;C:\spi4j2.5.4_J2ee1.4\clientLib\XEES110J.jar;C:\spi4j2.5.4_J2ee1.4\clientLib\XEES120J.jar;C:\spi4j2.5.4_J2ee1.4\clientLib\XEES200J.jar;C:\spi4j2.5.4_J2ee1.4\clientLib\XTCP211.jar;C:\spi4j2.5.4_J2ee1.4\Demo\log4j-1.2.8.jar;C:\spi4j2.5.4_J2ee1.4\coreLib\spi4jCore_2.5.4.jar;C:\spi4j2.5.4_J2ee1.4\coreLib\axis-1.1.jar;C:\spi4j2.5.4_J2ee1.4\coreLib\xmlParserAPIs-2_2_1.jar;C:\spi4j2.5.4_J2ee1.4\coreLib\jaxrpc.jar;C:\spi4j2.5.4_J2ee1.4\coreLib\wsdl4j.jar;C:\spi4j2.5.4_J2ee1.4\coreLib\fsgWsif1.1.jar;C:\spi4j2.5.4_J2ee1.4\Demo\commons-logging.jar;C:\spi4j2.5.4_J2ee1.4\coreLib\tools.jar;C:\spi4j2.5.4_J2ee1.4\coreLib\commons-pool-1.2.jar;C:\spi4j2.5.4_J2ee1.4\coreLib\saaj.jar;C:\spi4j2.5.4_J2ee1.4\coreLib\commons-beanutils-core.jar;C:\spi4j2.5.4_J2ee1.4\coreLib\commons-collections-3.1.jar;C:\spi4j2.5.4_J2ee1.4\coreLib\commons-discovery.jar;C:\spi4j2.5.4_J2ee1.4\coreLib\commons-lang-2.1.jar;C:\spi4j2.5.4_J2ee1.4\coreLib\connector.jar;C:\spi4j2.5.4_J2ee1.4\coreLib\FEDRWSCHECKSTATUSAxisInfo.jar;C:\spi4j2.5.4_J2ee1.4\coreLib\fscontext.jar;C:\spi4j2.5.4_J2ee1.4\coreLib\IFSClassLoader1.2.jar;C:\spi4j2.5.4_J2ee1.4\coreLib\j2ee1.4.jar;C:\spi4j2.5.4_J2ee1.4\coreLib\jca.jar;C:\spi4j2.5.4_J2ee1.4\coreLib\jta.jar;C:\spi4j2.5.4_J2ee1.4\coreLib\mail.jar;C:\spi4j2.5.4_J2ee1.4\coreLib\providerutil.jar;C:\spi4j2.5.4_J2ee1.4\coreLib\qname.jar;C:\spi4j2.5.4_J2ee1.4\coreLib\soaprmi-1_1.jar;C:\spi4j2.5.4_J2ee1.4\coreLib\xalan.jar;C:\spi4j2.5.4_J2ee1.4\coreLib\xercesImpl-2_2_1.jar;C:/Program Files/IBM/WebSphere Studio/Application Developer/v5.1.2/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.1.1.1/runtime/wteServers.jar;C:/Program Files/IBM/WebSphere Studio/Application Developer/v5.1.2/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.1.1.1/runtime/wasToolsCommon.jar
    Java Library path = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/bin;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/java/bin;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/java/jre/bin;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\eclipse\jre\bin;.;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\eclipse\jre\bin;C:\oracle\product\10.2.0\client_2\bin;C:\oracle\product\10.2.0\client_1\bin;Y:\oracle\ora92\BIN;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA~1\CA\SHARED~1\SCANEN~1;C:\PROGRA~1\CA\ETRUST~1;C:\PROGRA~1\IBM\SQLLIB\BIN;C:\PROGRA~1\IBM\SQLLIB\FUNCTION;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\Rational\common;C:\Program Files\Rational\ClearCase\bin;C:\Program Files\IBM\SDP70\jdk\bin
    ************* End Display Current Environment *************

  • How can i convert an image into gif file as jpeg by using com.sun.image.*

    please help me to convert an image into gif format. i have used sun's impl com.sun.image.code.jpeg package to convert a buffered image into a jpeg file. is there any implementatioln available from sun to handle gif files.

    Many. Try for instance google with 'java image encoders'. Go to the URL http://www.google.com/search?q=java+image+encoders and be amazed of the wonders of modern web search tools.

  • Java.lang.NoSuchMethodException: com.sun.mail.imap.IMAPStore.

    All:
    I have completed the following:
    1. Downloaded the JavaMail 1.4.2 API.
    2. From this downloaded API I had extracted the mail.jar file (timestamp 2009-02-26 13:28) to my C:\Program Files\Tomcat 6.0\lib directory
    3. Downloaded the jaf-1_0_2-upd2 API
    4. From this downloaded API I had extracted the activation.jar file (timestamped 2005-05-07 21:14) also to my C:\Program Files\Tomcat 6.0\lib directory.
    In Eclipse I have created a simple JSP page that calls a POJO that is to read a particular email box using IMAP. In this POJO I have code to set up the Properties, Session and Store objects as such:
    Line 1 Properties properties = System.getProperties();
    Line 2 properties.put("mail.from", "[email protected]");
    Line 3 properties.put("mail.debug","true");
    Line 4 session = Session.getDefaultInstance(properties, null);
    Line 5 session.setDebug(debug);
    Line 6 printData("About to get store object...");
    Line 7 store = session.getStore("imap");
    In eclispe, I click "Debug on Server" and Tomcat starts, begins to display my JSP and then I am dropped on the line of code in my POJO where I set a breakpoint (Line 1). Now I single step through the code. The code throws the following execption when it executes line 7 of the above code :
    (Line 6 ==>) About to get store object...
    DEBUG: getProvider() returning javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc]
    java.lang.NoSuchMethodException: com.sun.mail.imap.IMAPStore.<init>(javax.mail.Session, javax.mail.URLName)
         at java.lang.Class.getConstructor0(Unknown Source)
         at java.lang.Class.getConstructor(Unknown Source)
         at javax.mail.Session.getService(Session.java:782)
         at javax.mail.Session.getStore(Session.java:574)
         at javax.mail.Session.getStore(Session.java:536)
         at javax.mail.Session.getStore(Session.java:515)
         at emailTest.readEmails.processMail(readEmails.java:62)
         at emailTest.readEmails.<init>(readEmails.java:24)
         at org.apache.jsp.emailTest_jsp._jspService(emailTest_jsp.java:94)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
         at java.lang.Thread.run(Unknown Source)
    There are no jar files defined in my project's classpath. The only jar file found in the project is in the WEB-INF\lib folder wherein I have a jndi.jar (timstamp 5/5/2009 8:10AM) file.
    I put the activation.jar file and the mail.jar file in my Tomcat.6\lib folder according item 4 of the JavaMail Sessions section of the Apache Tomcat JNDI Resources HOW_TO found here: http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html
    Can anybody please tell me what I need to do to get around this error? Do I perhaps have the wrong versions of one or more jar files?
    FYI: I have also put these same two jar files in my projects classpath and still recevied the same exception. Because I am invoking a POJO from a JSP should these jar files be in my projects classpath in addition to the tomcat\lib directory, or should they only be in the projects' classpath?
    Thanks to all for your time in responding.
    Gary

    bshannon:
    Thank you for your resonse. Your response got me to thinking that my instance of Ecliplse that I had had running yesterday was behaving a little strangely so this morning I closed everything I had running on my workstation and closed down the machine and rebooted. When I finally opend up Eclipse again and ran my JSP program calling my POJO, the code no longer threw the exception. Apparently Eclipse can have its tempermental moments.
    Also, let it be known that while everything is working for me now, I performed a small experiment. I moved the activiation.jar and mail.jar from my project\WEB-INF\lib folder and put them in the the C:\Program Files\Tomcat 6.0\lib directory. Then, when I ran my program I once again recieved the java.lang.NoSuchMethodException error. When I moved these jar files back from the Tomcat diretory to my project\WEB-INF\lib directory, the program worked just fine.
    Thanks again
    Gary

Maybe you are looking for

  • Sender JDBC Error

    Hi, i am using XI7.0, Sender JDBC error is below; when i test to connect to Oracle DB in using JAVA Code with ojdbc14.jar which was deployed into XI J2EE, i have no problem with insert update delete in using same code which was used in JDBC adapter i

  • Missing beans for BI/Portal integration configuration

    I've configured BI/Portal configuration but when executing the tests or when using BEX I have an errors: com.sap.engine.services.rfcengine.RFCException: Bean RSWR_TEMPLATE_PROCESS_PROXY not found Caused by: .jndi.exceptions.NameNotFoundException: Obj

  • Stuck rental download

    Have a stuck itunes movie rental on ipad. Doesn't show up in rentals, only in the downloads tab of itunes on the ipad. Using up 5Gb in "other" need to get rid of the stuck download. Any ideas?

  • Setting shadow with Javascript

    For some odd reason, none of the Indesign's VBA-scripts works with InDesign CS5 anymore, maybe then reason is Office 2010 64-bit. Anyway, Javascript works just fine, but I'm having difficulties to write following script with JavaScript. Can anybody h

  • Does Nokia c5 supports text copy paste feature

    Friends i had recently bought a nokia c5 mobile phone and i wants to know that does this phone supports TEXT COPY AND PASTE FEATURE? Its urgent, plz reply. Thanks