Example of Xlet ( java TV )

Somebody have one example of Xlet ( java tv ). Nothing very difficult, but if this is difficult, it`s ok.
Thanks,
Gpleite

Wow, thanks for the insight.
Going with jCom seemed to be one of the least expensive routes to take to get
to Navision.
What I need to do is get a J2EE application to communicate with Navision. Using
Navision's way to do this, and buying the required software from Microsoft to
support it, would run anywhere from $30K to $70K.
My next option would be to go with something like FioranoMQ that will allow communication
between JMS and MSMQ. The software (FioranoMQ) is around $4,500. This is probably
the preferred route I suppose if jCom is really that tough to work with.
"Edward Foley" <[email protected]> wrote:
Two things:
First, you can have 2-way communication with JCOM. I just
finished a project in which we did this using WL 6.1 and JCOM.
Second, use something other than JCOM! May I suggest a webservices
interface between WL and your Windows application. I admit that
JCOM does work but getting it to work is akin to having dental
work. Also, it is not the where inter-application communication
seems to be going. Why not just use Webservices to communicate
between the 2 heterogenous applications. This is certainly what
we would have done had webservices been more mature when the
application architecture was being done. As it was, we almost
ripped out the JCOM piece and replaced it webservices about a
month prior to going into production because of headaches we
were having with JCOM.
I am interested in jCom for communication from Java to COM objects.All
of the examples I have seen SEEMS to indicate that it is a one way
communication process. In short, you can get information from an EJB
from a COM object, but you can't get information from a COM objectfrom
an EJB (or any other Java object).
So, is it one-way only? If not, can someone provide me a link to an
example doing this?
Thanks.

Similar Messages

  • I need an example about loading java method to Oracle

    Hi,
    Could anyone give me an simple example of a Java method which will be loaded into Oracle.
    Let say, the method will read the email address based on employee_ID from a table called Employee. Thank you very much for all your help.
    Hellenie
    PS: I would like to see java code and to see how it could call a table without having to deal with connection object ,statement,etc...

    PS: I would like to see java code and
    to see how it could call a table without
    having to deal with connection
    object ,statement,etc...A Java Stored Procedure still uses JDBC to talk to the database just like on the client. The difference is that instead of making a remote connection (from client to server), your connection is local and is obtained via the url
    DriverManager.getConnection("oracle:jdbc:kprb:@");
    If you don't want to use a Connection, Statement, Resultset, etc, you may wish to use PL/SQL. One of the advantages of Java Stored Procedures is it uses the same JDBC calls as you do on the client, so it makes it easier to move code from client, to app server, to database tier.
    Hope this clears things up a bit,
    Rob
    null

  • Could not run the bookstore1 example from the Java Web Services Tutorial

    The bookstore1 servlets example from the Java Web Services Tutorial (issue Aug 1, 2002) was built and deployed successfully by using the deploytool (following the steps described on pages 498ff of the tutorial).
    After deploying the application the Tomcat Web Application Manager shows the entry:
    /bookstore1:stopped:0:D:\Programme\Java\tomcat\jakarta-tomcat-4.1.8\work\Standalone\localhost\manager\bookstore1.war
    when entering the command: http://localhost:8080/manager/list.
    After entering the command: http://localhost:8080/manager/start?path=/bookstore1, the (uncomplete) message appears:
    FAIL - Application at context path /bookstore1 could not
    It should be noted that I was able to build and deploy the application GSApp (chapter 3 of the tutorial) successfully.

    Did you set up the database as described in
    http://java.sun.com/webservices/docs/1.0/tutorial/doc/WebApp13.html#69868

  • Are there some portal examples in Sun Java System Portal Server V7.1?

    I read some articles in www.kryos.com like
    Why Portal?
    Kinds of Poratl Technologies
    Portal Best Practices
    Thoughts on Portal
    I want to see some real portal, real portalet. So I download Sun Java System Portal Server V7.1. I set it up and I ran startportal.bat. But what can I do next?
    Is there anything like "examples" web app in Tomcat?
    Edited by: Mellon on Mar 27, 2008 10:59 PM
    Edited by: Mellon on Mar 27, 2008 11:01 PM

    There are several sample portals which you can deploy to see what they do. Then you can customise the one you like or build one from scratch.

  • More complex JCO Server examples (ABAP to Java)

    JCo connections:
    I found a couple of good documents for connecting from Java to ABAP. Whenever it comes to the other direction (ABAP to Java), information is somehow rare.
    I had a look at the examples coming with the JCo lib, however I would like to find some more complex examples. Especially the transfer of larger result sets (obtained on the Java side) is interesting.
    Does anybody know something like this? I have tried Google, but somehow always the same few articles showed up.
    Any hints?

    You can also use the JCO RFC Provider Service of the Web Application Server for your ABAP to Java calls.
    The steps involved in that are
    1. Configure destination in SM59 in SAP.
    2. Create RFC Destination in Visual Admin.
    3. Create a stateless session bean with JNDI name as the name of calling function module in SAP.
    4. Add a business method public void processFunction(JCO.Funtion fn) which is called by the JCO RFC Provider Service. The name should be 'processFunction'.
    5. Set library references in application-j2ee-engine.xml to type weak for the following
        a. com.sap.mw.jco.
        b. com.sap.tc.Logging (if you are using the logging api )
    Here is the sample code for the EJB biz method
    Business Method.
         public void processFunction(JCO.Function function) {
              try {
                   // Get the import parameters for the function module
                   JCO.ParameterList importList = function.getImportParameterList();
                   logger.infoT("The value sent is" +
                   (String)importList.getValue("USER_NAME"));
                   // Set the export parameter value for the function module
                   JCO.ParameterList export = function.getExportParameterList();
                   export.setValue("From EJB", "RETURN");
                   function.setExportParameterList(export);
              catch (java.lang.Exception e) {
                   e.printStackTrace();     

  • Example code for java compiler with a simple GUI

    There is no question here (though discussion of the code is welcome).
    /* Update 1 */
    Now available as a stand alone or webstart app.! The STBC (see the web page*) has its own web page and has been improved to allow the user to browse to a tools.jar if one is not found on the runtime classpath, or in the JRE running the code.
    * See [http://pscode.org/stbc/].
    /* End: Update 1 */
    This simple example of using the JavaCompiler made available in Java 1.6 might be of use to check that your SSCCE is actually what it claims to be!
    If an SSCCE claims to display a runtime problem, it should compile cleanly when pasted into the text area above the Compile button. For a compilation problem, the code should show the same output errors seen in your own editor (at least until the last line of the output in the text area).
    import java.awt.BorderLayout;
    import java.awt.Font;
    import java.awt.EventQueue;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    import javax.swing.JFrame;
    import javax.swing.JOptionPane;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JLabel;
    import javax.swing.JTextArea;
    import javax.swing.JTextField;
    import javax.swing.JButton;
    import javax.swing.SwingWorker;
    import javax.swing.border.EmptyBorder;
    import java.util.ArrayList;
    import java.net.URI;
    import java.io.ByteArrayOutputStream;
    import java.io.OutputStreamWriter;
    import javax.tools.ToolProvider;
    import javax.tools.JavaCompiler;
    import javax.tools.SimpleJavaFileObject;
    /** A simple Java compiler with a GUI.  Java 1.6+.
    @author Andrew Thompson
    @version 2008-06-13
    public class GuiCompiler extends JPanel {
      /** Instance of the compiler used for all compilations. */
      JavaCompiler compiler;
      /** The name of the public class.  For 'HelloWorld.java',
      this would be 'HelloWorld'. */
      JTextField name;
      /** The source code to be compiled. */
      JTextArea sourceCode;
      /** Errors and messages from the compiler. */
      JTextArea output;
      JButton compile;
      static int pad = 5;
      GuiCompiler() {
        super( new BorderLayout(pad,pad) );
        setBorder( new EmptyBorder(7,4,7,4) );
      /** A worker to perform each compilation. Disables
      the GUI input elements during the work. */
      class SourceCompilation extends SwingWorker<String, Object> {
        @Override
        public String doInBackground() {
          return compileCode();
        @Override
        protected void done() {
          try {
            enableComponents(true);
          } catch (Exception ignore) {
      /** Construct the GUI. */
      public void initGui() {
        JPanel input = new JPanel( new BorderLayout(pad,pad) );
        Font outputFont = new Font("Monospaced",Font.PLAIN,12);
        sourceCode = new JTextArea("Paste code here..", 15, 60);
        sourceCode.setFont( outputFont );
        input.add( new JScrollPane( sourceCode ),
          BorderLayout.CENTER );
        sourceCode.select(0,sourceCode.getText().length());
        JPanel namePanel = new JPanel(new BorderLayout(pad,pad));
        name = new JTextField(15);
        name.setToolTipText("Name of the public class");
        namePanel.add( name, BorderLayout.CENTER );
        namePanel.add( new JLabel("Class name"), BorderLayout.WEST );
        input.add( namePanel, BorderLayout.NORTH );
        compile = new JButton( "Compile" );
        compile.addActionListener( new ActionListener() {
            public void actionPerformed(ActionEvent ae) {
              (new SourceCompilation()).execute();
        input.add( compile, BorderLayout.SOUTH );
        this.add( input, BorderLayout.CENTER );
        output = new JTextArea("", 5, 40);
        output.setFont( outputFont );
        output.setEditable(false);
        this.add( new JScrollPane( output ), BorderLayout.SOUTH );
      /** Compile the code in the source input area. */
      public String compileCode() {
        output.setText( "Compiling.." );
        enableComponents(false);
        String compResult = null;
        if (compiler==null) {
          compiler = ToolProvider.getSystemJavaCompiler();
        if ( compiler!=null ) {
          String code = sourceCode.getText();
          String sourceName = name.getText().trim();
          if ( sourceName.toLowerCase().endsWith(".java") ) {
            sourceName = sourceName.substring(
              0,sourceName.length()-5 );
          JavaSourceFromString javaString = new JavaSourceFromString(
            sourceName,
            code);
          ArrayList<JavaSourceFromString> al =
            new ArrayList<JavaSourceFromString>();
          al.add( javaString );
          ByteArrayOutputStream baos = new ByteArrayOutputStream();
          OutputStreamWriter osw = new OutputStreamWriter( baos );
          JavaCompiler.CompilationTask task = compiler.getTask(
            osw,
            null,
            null,
            null,
            null,
            al);
          boolean success = task.call();
          output.setText( baos.toString().replaceAll("\t", "  ") );
          compResult = "Compiled without errors: " + success;
          output.append( compResult );
          output.setCaretPosition(0);
        } else {
          output.setText( "No compilation possible - sorry!" );
          JOptionPane.showMessageDialog(this,
            "No compiler is available to this runtime!",
            "Compiler not found",
            JOptionPane.ERROR_MESSAGE
          System.exit(-1);
        return compResult;
      /** Set the main GUI input components enabled
      according to the enable flag. */
      public void enableComponents(boolean enable) {
        compile.setEnabled(enable);
        name.setEnabled(enable);
        sourceCode.setEnabled(enable);
      public static void main(String[] args) throws Exception {
        Runnable r = new Runnable() {
          public void run() {
            JFrame f = new JFrame("SSCCE text based compiler");
            f.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
            GuiCompiler compilerPane = new GuiCompiler();
            compilerPane.initGui();
            f.getContentPane().add(compilerPane);
            f.pack();
            f.setMinimumSize( f.getSize() );
            f.setLocationRelativeTo(null);
            f.setVisible(true);
        EventQueue.invokeLater(r);
    * A file object used to represent source coming from a string.
    * This example is from the JavaDocs for JavaCompiler.
    class JavaSourceFromString extends SimpleJavaFileObject {
      * The source code of this "file".
      final String code;
      * Constructs a new JavaSourceFromString.
      * @param name the name of the compilation unit represented
        by this file object
      * @param code the source code for the compilation unit
        represented by this file object
      JavaSourceFromString(String name, String code) {
        super(URI.create(
          "string:///" +
          name.replace('.','/') +
          Kind.SOURCE.extension),
          Kind.SOURCE);
        this.code = code;
      @Override
      public CharSequence getCharContent(boolean ignoreEncodingErrors) {
        return code;
    }Edit 1:
    Added..
            f.setMinimumSize( f.getSize() );Edited by: AndrewThompson64 on Jun 13, 2008 12:24 PM
    Edited by: AndrewThompson64 on Jun 23, 2008 5:54 AM

    kevjava wrote: Some things that I think would be useful:
    Suggestions reordered to suit my reply..
    kevjava wrote: 2. Line numbering, and/or a line counter so you can see how much scrolling you're going to be imposing on the forum readers.
    Good idea, and since the line count is only a handful of lines of code to implement, I took that option. See the [line count|http://pscode.org/stbc/help.html#linecount] section of the (new) [STBC Help|http://pscode.org/stbc/help.html] page for more details. (Insert plaintiff whining about the arbitrary limits set - here).
    I considered adding line length checking, but the [Text Width Checker|http://pscode.org/twc/] ('sold separately') already has that covered, and I would prefer to keep this tool more specific to compilation, which leads me to..
    kevjava wrote: 1. A button to run the code, to see that it demonstrates the problem that you wish for the forum to solve...
    Interesting idea, but I think that is better suited to a more full blown (but still relatively simple) GUId compiler. I am not fully decided that running a class is unsuited to STBC, but I am more likely to implement a clickable list of compilation errors, than a 'run' button.
    On the other hand I am thinking the clickable error list is also better suited to an altogether more abled compiler, so don't hold your breath to see either in the STBC.
    You might note I have not bothered to update the screenshots to show the line count label. That is because I am still considering error lists and running code, and open to further suggestion (not because I am just slack!). If the screenshots update to include the line count but nothing else, take that as a sign. ;-)
    Thanks for your ideas. The line count alone is worth a few Dukes.

  • Example of using JAVA to implement location transparency

    Dear all,
    Is any example or source code show me how to using JAVA to implement location transparency?
    Thanks
    Ronnie Poon

    <frameset> should not be the child of the <body> element. It should be the child of <html> element.
    This works:
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
    <ui:page id="page1">
    <ui:html id="html1">
    <ui:head id="head1">
    <ui:link id="link1" url="/resources/stylesheet.css"/>
    </ui:head>
    <frameset cols="30%,70%">
    <frame name="left" src="faces/Page1.jsp"/>
    <frameset rows="80%,20%">
    <frame name="top" src="faces/rightPage.jsp"/>
    <frame name="bottom" src="faces/bottomPage.jsp"/>
    </frameset>
    </frameset>
    </ui:html>
    </ui:page>
    </f:view>
    <ui:form binding="#{bean.form1}" id="form1"/>
    </jsp:root>
    thanks,
    tsc

  • Update example applications to Java 8

    Hello,
    I'm quite new to the OSLC and to become familiar with the technique, I
    ran the examples, which are provided at
    http://open-services.net/resources/tutorials/integrating-products-with-oslc/running-the-examples/.
    I used Eclipse Mars, which suites the needs as "Eclipse 3.6 or later".
    But during building and executing the example applications, I had to
    notice, that there are several problems using Java 8, which is default
    for Eclipse Mars. So instead to download and configure Java 6, I
    modified the sources to build and run on Java 8 correctly.
    Now, my question is: Is anybody interested in these updated projects?
    How can I contribute the modified code?
    Best regards,
    Joachim

    Hello Joachim,
    We'd be happy to get code that's updated for Java 8. Instructions for contributing to Lyo are here. However, there's some setup involved and you'll need to electronically sign the Eclipse Contributor License Agreement. When you contribute your changes you should reference the Migrate Lyo to Java 8 Bugzilla.
    If this is too much overhead, you can describe the changes you made in a comment or attachment in the Bugzilla. I can use that information to make the changes myself.
    Thanks for the contribution!

  • Example not clear  +java magazine JANUARY/FEBRUARY 2012

    In java magazine JANUARY/FEBRUARY 2012 , they are interested subjects which discuss " Using JLayer in Your
    Swing Applications",
    there are one java example about Drawing components into a temporary
    image ,but it is not clear because some Variables not define like img,px
    kindly can any one know that write complete example .
    @Override
    public void paint(Graphics g, JComponent c) {
    //draw regular
    super.paint(g,c);
    //draw into buffer
    Graphics2D g2 = img.createGraphics();
    int ih = *img*.getHeight();
    int iw = img.getWidth();
    //fill with white
    g2.setPaint(Color.WHITE);
    g2.fillRect(0, 0, img.getWidth(), img.getHeight());
    //render view component scaled and translated
    Graphics2D g3 = (Graphics2D) g2.create();
    g3.translate(-*pt*.x + iw, *-pt*.y + ih*2);
    g3.scale(2, 2);
    g3.translate(-pt.x/2 - iw/4, -pt.y/2 - ih/4);
    super.paint(g3,c);
    g3.dispose();
    //draw black border
    g2.setPaint(Color.BLACK);
    g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.
    VALUE_ANTIALIAS_ON);
    g2.setStroke(new BasicStroke(3));
    g2.draw(new Ellipse2D.Double(0,0,iw,ih));
    g2.drawRect(0,0, iw-1, ih-1);
    g2.dispose();
    //draw image to screen
    Shape oldClip = g.getClip();
    int mx = pt.x-img.getWidth()/2;
    int my = pt.y-img.getHeight();
    g.setClip(new Ellipse2D.Double(mx,my,iw,ih));
    g.drawImage(img, mx, my, null);
    g.setClip(oldClip);
    }Thanks
    Sameer
    Edited by: sabre150 on Feb 17, 2012 9:45 PM
    Added code tags

    The online article has an embedded link you can use to download the complete source code.
    http://www.oraclejavamagazine-digital.com/javamagazine/20120102?folio=37#pg38
    The second column from the right on the page above says:
    >
    NOTE: The source code for the examples described in this article can be downloaded here.
    >
    The word 'here' is a link you can click to download the complete source code.

  • Website for examples of tricky java programs asked in interviews

    Any one knowing the Website for tricky java programs asked in interviews?
    Regards,
    akshay

    Developers wrote:
    I use google,but even then I am not able get site for the tricky programs asked in interview...Damn Google holding out on you!
    Here -> http://geekinterview.com

  • Question about scope in the enum example in the Java Tutorial

    Hi,
    On page http://java.sun.com/docs/books/tutorial/java/javaOO/enum.html of the Java tutorial the enumeration MONDAY is not prefixed with the enum name when it is used in the function tellItLikeItIs.
    public class EnumTest {
         Day day;
         public EnumTest(Day day) {
              this.day = day;
         public void tellItLikeItIs() {
              switch (day) {
                   case MONDAY: System.out.println("Mondays are bad.");
                                  break;
                   case FRIDAY: System.out.println("Fridays are better.");
                                  break;How does the compiler know that MONDAY is the same as Day.MONDAY? Is it because of
    switch(day)Then later in the main MONDAY must be prefixed with Day. I removed Day. and it did not compile. Why is Day. necessary in main but not in tellItLikeItIs?
    public static void main(String[] args) {
              EnumTest firstDay = new EnumTest(Day.MONDAY);
              firstDay.tellItLikeItIs();Thank you.

    swtich is a special case.
    The label for each 'case' of a switch
    will infer based on the type of switch value
    switch(d) {
    case MONDAY:
    case TUESDAY:
    will automatically refer to the MONDAY and TUESDAY
    corresponding to d's type.

  • I need an simple example on java-Oracle8i entreprise

    Hi,
    Could anyone give me an simple example of a Java method which will be loaded into Oracle.
    Let say, the method will read the email address based on employee_ID from a table called Employee. Thank you very much for all your help.
    Hellenie
    PS: I would like to see java code and to see how it could call a table without having to deal with connection object ,statement,etc...
    null

    This is the example from the Oracle's 8.1.6 Documentation - Java Stored pocedures Developer's guide -
    step 1 :
    import java.sql.*;
    import java.io.*;
    import oracle.jdbc.driver.*;
    public class RowCounter {
    public static int rowCount (String tabName) throws SQLException {
    Connection conn = new OracleDriver().defaultConnection();
    // here is the connection made
    String sql = "SELECT COUNT(*) FROM " + tabName;
    int rows = 0;
    try {
    Statement stmt = conn.createStatement();
    ResultSet rset = stmt.executeQuery(sql);
    // same old createStatement, executeQuery ...
    while (rset.next()) {rows = rset.getInt(1);}
    rset.close();
    stmt.close();
    } catch (SQLException e) {System.err.println(e.getMessage());}
    return rows;
    Step 2:
    use loadjava command line utility and
    specify the class name, username/password to
    load the code into the database.
    step 3:
    On sql prompt, the class and method name are
    mapped to stored procedure
    CREATE FUNCTION row_count (tab_name VARCHAR2) RETURN NUMBER
    AS LANGUAGE JAVA
    NAME 'RowCounter.rowCount(java.lang.String) return int';
    You can invoke the procedure using CALL method from SQL prompt.
    Cheers,
    Adithya
    null

  • Need example on Java Sections.....

    Hi
    I need example senario on java sections and how we use both java sections and user defined funtions... can u give me any blog on that..... and i need information about packages used in java for sapxi.... and which class is used for what purpose.... please help me
    Thanks & Regards
    Ravi shankar B

    Hi,
    Refer this blog:
    /people/sap.user72/blog/2005/10/01/xi-new-features-in-sp14
    and the thread:
    Re: Sequence Number in XI Mapping
    Regards
    suraj

  • Example of 'Java Servlet Programming, 2nd Edition' (O'reilly)

    Hi,
    I'm reading 'Java Servlet Programming, 2nd Edition' (O'reilly).
    I got a error "'.' expected" and "cannot resolve symbol"
    when trying JSP sample, hello3.jsp and HelloBean.java:
    I put hello3jsp to webapps/sample, and HelloBean.class
    to webapps/sample/WEB-INF/classes .
    Is this collect? If true, why I got the error?
    Could you give me any advices?
    hello3.jsp:
    (http://www.servlets.com/jservlet2/examples/ch18/hello3.jsp.txt)
    <%-- hello3.jsp --%>
    <%@ page import="HelloBean" %>
    <jsp:useBean id="hello" class="HelloBean">
      <jsp:setProperty name="hello" property="*" />
    </jsp:useBean>
    <HTML>
    <HEAD><TITLE>Hello</TITLE></HEAD>
    <BODY>
    <H1>
    Hello, <jsp:getProperty name="hello" property="name" />
    </H1>
    </BODY>
    </HTML>HelloBean.java:
    (http://www.servlets.com/jservlet2/examples/ch18/HelloBean.java)
    public class HelloBean {
      private String name = "World";
      public void setName(String name) {
        this.name = name;
      public String getName() {
        return name;
    }Error Message:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 4 in the jsp file: /hello3.jsp
    Generated servlet error:
        [javac] Compiling 1 source file
    /usr/local/java/jakarta-tomcat-4.1.18/work/Standalone/localhost/sample/hello3_jsp.java:7: '.' expected
    import HelloBean;
                    ^
    /usr/local/java/jakarta-tomcat-4.1.18/work/Standalone/localhost/sample/hello3_jsp.java:44: cannot resolve symbol
    symbol  : class HelloBean
    location: class org.apache.jsp.hello3_jsp
          HelloBean hello = null;
          ^regards
    maco

    I got succeeded!
    I changed the three point:
    * add 'package hoo;' in HelloBean.java
    * add '<%@ page import="my.HelloBean" %>' in hello3.jsp
    * change '<jsp:useBean id="hello" class="HelloBean">
    to '<jsp:useBean id="hello" class="my.HelloBean">
    Before posting, I searched google three times but couldn't get answer.
    I could not get well if you didn't give me help...
    Thank you very much.

  • Simple Java DB example

    I am using Java 1.6 and Eclipse Galelio on Vista, Do I need to configure anything is there any story of setting path?
    How to check my Java DB is working or not or everything is fine or not?
    I found many totorial with simple Java DB example but they seem dealing with previous version of JDK, I guess SUN too on http://java.sun.com/developer/technicalArticles/J2SE/Desktop/javadb/ , kindly provide me the simplest example which uses Java DB.
    I am not able to figure out the whole thing of JAVA DB , how it works, in plain language I want to know is there any way of interacting with database from Command prompt? If so how?

    When I am running a simpleApp.java
    I am getting this error:
    Unable to load the JDBC driver org.apache.derby.jdbc.EmbeddedDriver
    Please check your CLASSPATH.
    java.lang.ClassNotFoundException: org.apache.derby.jdbc.EmbeddedDriver
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at SimpleApp.loadDriver(SimpleApp.java:414)
         at SimpleApp.go(SimpleApp.java:125)
         at SimpleApp.main(SimpleApp.java:93)
    ----- SQLException -----
    SQL State: 08001
    Error Code: 0
    Message: No suitable driver found for jdbc:derby:derbyDB;create=true
    SimpleApp starting in embedded mode
    SimpleApp finished

Maybe you are looking for

  • To the Hosts or Administrators of this forum

    I posted a simple logical question that was/is well within any License Agreement and is common knowledge among any Apple Enthusiast, User, or Geek like myself. The question asked about installation of the much needed and highly anticipated updates to

  • The same filename from a sender to a receiver file adapter - SP14

    Hi Expers, I Have Gone through the link which is given bu Michal. /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14 Here My Questions are......... 1.Should we give any file name in the receiv

  • Can I change PS layer comps to a single PDF?

    I have a print project and it's easier to create it in photoshop then  InDesign. It will be a booklet and printed digitally. They only accept  PDFs. My question is can I turn my psd layer comps into a single  PDF for the printer?

  • 11g for personal education

    I am a database consultant with a number of years of both Oracle and Ms Sql server development expierience. For the last 3 years I have been using Ms SQL Server, and as a result, my PL/SQL skills are rusty. I want to verify that I can still download

  • Turn off screen while apps run Need help

    I'm running the SiriusXM app to stream music but I don't want the screen to keep after I choose my station. Does anyone know of a way to blank the screen? Is there a setting so when there is no touch activity it goes blank? Also If you switch tabs it