JRE vs JSDK

This is probably an very stupid question, but for the life of me I can't figure it out from the on line docs.
I know the JSDK's -- but the SE and EE additions -- come with a JRE.
However, I don't know if I still need to install a JRE independent of the SDK to make sure things like browsers work, or if I can just use the SDK's JRE.

You can use the SDK's JRE.

Similar Messages

  • JRE and JSDK

    Hi,
    I've got a endommaged JRE, that make me impossible to run a java.bat file by script from an HTML Page.
    My question is: I've installed the Java 2 SDK, so why do I need a JRE?
    The first environnment must be sufficient, no?
    Thanks for your responses,
    Steevy

    Hi ChrisBoy,
    In fact, i have to run a file.bat for a fop transformation:
    java -cp C:\fop2\build\fop.jar;C:\fop2\lib\batik.jar;C:\fop2\lib\xalan-2.3.1.jar;C:\fop2\lib\xercesImpl-2.0.1.jar;C:\fop2\lib\xml-apis.jar;C:\fop2\lib\avalon-framework-cvs-20020315.jar;C:\fop2\lib\logkit-1.0.jar;C:\fop2\lib\jimi-1.0.jar org.apache.fop.apps.Fop C:\DCN\DERA\prog\fop\result.fo C:\DCN\DERA\prog\fop\result.pdf
    When I run it by double-clicking, all it's OK.
    But I would like merely to run it by script, like this:
    var WSHShell = new ActiveXObject("Wscript.Shell");
    var theCmdLine = "C:/DCN/DERA/prog/fop/fop2.bat" ;
    WSHShell.Run(theCmdLine,1,true);
    Unfortunately, it doesn't run any more. I've got the following message:
    Failed reading value of registry key:
    SOftware\Javasoft\Java Runtime Environnement\CurrentVersion.
    I don't know what exacly to do with this..
    Your help is welcome...
    Best,
    Steevy

  • NoSuchProviderException  usingTomcat

    I am trying to send an email from an app developed with Struts and Tomcat 4.1.
    My calss path is :
    C:\Program Files\Java\javamail-1.3.1\mail.jar;C:\Program Files\Java\jaf-1.0.2\activation.jar;C:\Program Files\Java\javamail-1.3.1\lib\smtp.jar;C:\Program Files\Java\j2sdk1.4.1_03\jre\lib\ext;c:\oracle9i\lib\classes12.zip;C:\Program Files\Java\jwsdp-1.1\jaxp-1.2.2\lib\jaxp-api.jar;C:\Program Files\Java\jwsdp-1.1\common\lib\jdbc2_0-stdext.jar;C:\struts\contrib\struts-el\lib\struts.jar;C:\Program Files\Java\j2sdk1.4.1_03\jre\lib;C:\Program Files\Java\j2sdk1.4.1_03\jre\lib\jsdk.jar;C:\Program Files\Java\j2sdk1.4.1_03\jre\lib;C:\Program Files\Apache JServ 1.1.2\ApacheJserv.jar;c:\struts\webapps\esosr;C:\JCO2.1.0\sapjco.jar;
    The following program works fine when run from the Dos Prompt Java TestSendMail
    import javax.mail.*;
    import javax.mail.internet.*;
    import java.util.Properties;
    public class TestSendMail {
    public static void main(String args[]) {
    Properties props = System.getProperties();
    props.put("mail.smtp.host", "our.smtp.host");
    Session session = Session.getDefaultInstance(props, null);
    try {
    Message msg = new MimeMessage(session);
    msg.setFrom(new InternetAddress("myemail.com"));
    msg.setRecipients(Message.RecipientType.TO, InternetAddress.parse("myemail.com", false));
    msg.setSubject("Hello !");
    msg.setText("Hello there");
    msg.setHeader("X-Mailer", "Test-Send");
    Transport.send(msg);
    } catch (AddressException ae) {
    ae.printStackTrace();
    } catch (MessagingException me) {
    me.printStackTrace();
    I receive the e-mail ...
    When I use it in the app same class. In the console of the Tomcat server I am getting an exeption javax.mail.NoSuchProviderException : smtp....
    Tomcat has also activation.jar; and mail.jar in it's \common\lib directory, I modified the classpath statement in catalina.bat to include the mail.jar, activation.jar and smtp.jar. and I am getting the same error. Does anyone have a suggestion why it is not working in Tomcat 4.1. Please Help !
    Thanks

    Thanks for answering!
    I do have it in the JAVA_HOME\jre\lib\ext directory as well.

  • Can not install any version JSDK or JRE on Win2K?

    I am having problems installing any JRE, JDK version on Win2K and I noticed on temp file
    under pftE~tmp\disk1\os.dat I have;
    [Info]
    Name=PLATFORM
    Version=1.00.000
    [0x0009]
    OS Independent=0x0000000000000000
    Windows 3.1 & 3.11=0x0000000000000001
    Windows 95=0x0000000000000010
    Windows NT 3.51 (Intel)=0x0000000000001000
    Windows NT 3.51 (Alpha)=0x0000000000002000
    Windows NT 3.51 (MIPS)=0x0000000000004000
    Windows NT 4.0 (Intel)=0x0000000000010000
    Windows NT 4.0 (Alpha)=0x0000000000020000
    Windows NT 4.0 (MIPS)=0x0000000000040000
    Does this mean that under Win2K is I can not install?
    The symptoms are:
    1. Goes through extracting files to temp directory, and then HANGS!
    What AM I missing?
    thanks,
    gumby

    [jdavid],
    Hmmmm ..... it could another issue with the Win2K operating system i.e. the COMMAND.COM version.
    I'll cut and paste the section of the Release Notes that might give some clues:
    ------------ extracting from Release Notes ----------
    Support for Windows 2000
    In the English locale, version 1.3.1 of the Java 2 SDK is supported on Windows 2000 Professional, Windows 2000 Server, Window 2000 Advanced Server. The
    DataCenter edition of Windows 2000 is not supported. In non-English locales, only the Professional edition of Windows 2000 is supported. Known issues with
    Windows 2000 include:
    Windows 2000 and multiple-monitor support - Multiple monitors are not yet fully functional on the Windows 2000 platform. In particular, 256 color mode
    only behaves properly if all monitors are set to 256 color mode. 16-bit (or higher) color mode is highly recommended.
    If you see the following error message on Windows 2000 during installation
    config.nt. The system file is not suitable for running MS-DOS
    and Microsoft Windows Applications.
    it indicates a problem with the %SystemRoot%\System32\COMMAND.COM file that has been seen on some installations of Windows 2000. If you
    encounter this error message when you try to launch the installer, consult the Microsoft web site at
    http://support.microsoft.com/support/kb/articles/Q142/2/71.asp
    for information about resolving the problem.
    Process hang - An application may hang because of a deadlock in Ntdll on Microsoft Windows 2000 Professional, Server, and Advanced Server
    operating systems. This problem may occur, for example, in applications that use input and output streams of java.lang.Process objects. See the
    Microsoft Support Services web site for more information, including a fix:
    http://support.microsoft.com/support/kb/articles/Q271/1/82.ASP
    --------------- end of extraction ----------------
    Let me know if this is the case with your machine and the J2SE SDK 1.3.1_01 installation package.
    HTH.
    Allen Lai
    Developer Technical Support
    SUN Microsystems
    http://www.sun.com/developers/support/

  • JRE JSDK 1.4

    I have downloaded the latest JSDK (1.4) to use with JDeveloper and installed it into the IDE.
    When I try and compile code using the kit it gives the following error.
    Error: (0) initialization error: class Error const *: class file has wrong version 48.0, should be 45.3 or 46.0.
    I'd apreciate any help.
    Thanks
    Anthony

    Hi,
    I have downloaded the latest JSDK (1.4) to use with
    JDeveloper and installed it into the IDE.How did you configure the jdk with the Jdeveloper.I mean does it have any option where you can set Java_home.
    When I try and compile code using the kit it gives the
    following error.
    Error: (0) initialization error: class Error const *:
    class file has wrong version 48.0, should be 45.3 or
    46.0.I have not used JDeveloper but have tried some times back and remember that it has jdk embeded in it.Is it possible for you to print the exact stack trace as that may be provide more details?
    By the way does it give the LinkageError?
    Regards
    Vicky

  • Need help in installing JSDK(please)

    Hi guys
    I Am trying to implemente a servlet(my first servlet),So I downloded JSDK.
    But I can t find servlet in the package javax.
    I have put a copy of servlet.jar in jdk1.2.1\jre\lib\ext, but still nothing.
    can u please help me with that?
    thanks

    jswdk?
    http://java.sun.com/products/jsp/archive.html

  • In Applets, unable to type in TextFields if JRE 1.4 is selected in browser

    In Applets, unable to type in TextFields if JRE 1.4 is selected in browser (IE and Netscape), mouse events are functioning normally.
    I was able to select CheckBoxes, set the focus from one TF to another TF, but unable to type into it.
    Java Console shows: Java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThread)
    It works fine if JRE 1.3 or MS VM is selected.
    p.s. Applet code is compiled using jsdk 1.3
    I will appreciate any kind of help or advice !
    Thx,
    :MJ

    Hi,
    I have the same problem.
    Would appreciate some help here also.
    thanks!

  • Email Applet won't work after installing JSDK 1.4

    I am used to visiting my online email facility at University which contains an Applet to allow users to reply to, compose, delete messages, etc but since installing JSDK 1.4 I am now longer able to view the Applet - I am presented with the Java icon (coffee cup) and the following code in the Java console. Previous to JSDK I had installed no version of Java on this machine but I have had previous versions installed on other machines which caused no problems at all. Any help or advice would be appreciated, thanks.
    =========================================================================
    Java(TM) Plug-in: Version 1.4.1_02
    Using JRE version 1.4.1_02 Java HotSpot(TM) Client VM
    User home directory = D:\Documents and Settings\Administrator.UNI2000
    Proxy Configuration: No proxy
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    java.util.zip.ZipException: ZIP file must have at least one entry
         at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:292)
         at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:141)
         at java.util.zip.ZipOutputStream.close(ZipOutputStream.java:311)
         at sun.plugin.cache.CachedJarLoader.decompress(CachedJarLoader.java:432)
         at sun.plugin.cache.CachedJarLoader.access$500(CachedJarLoader.java:53)
         at sun.plugin.cache.CachedJarLoader$5.run(CachedJarLoader.java:335)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin.cache.Cache.privileged(Cache.java:219)
         at sun.plugin.cache.CachedJarLoader.download(CachedJarLoader.java:320)
         at sun.plugin.cache.CachedJarLoader.load(CachedJarLoader.java:128)
         at sun.plugin.cache.JarCache.get(JarCache.java:172)
         at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(CachedJarURLConnection.java:93)
         at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(CachedJarURLConnection.java:78)
         at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:580)
         at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:541)
         at sun.misc.URLClassPath$3.run(URLClassPath.java:319)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.misc.URLClassPath.getLoader(URLClassPath.java:308)
         at sun.misc.URLClassPath.getLoader(URLClassPath.java:285)
         at sun.misc.URLClassPath.getResource(URLClassPath.java:155)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
         at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:134)
         at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:168)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
         at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:114)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
         at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:501)
         at sun.applet.AppletPanel.createApplet(AppletPanel.java:567)
         at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1778)
         at sun.applet.AppletPanel.runLoader(AppletPanel.java:496)
         at sun.applet.AppletPanel.run(AppletPanel.java:293)
         at java.lang.Thread.run(Thread.java:536)
    load: class lotus.notes.apps.actionbar.ActionBar.class not found.
    java.lang.ClassNotFoundException: lotus.notes.apps.actionbar.ActionBar.class
         at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:153)
         at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:168)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
         at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:114)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
         at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:506)
         at sun.applet.AppletPanel.createApplet(AppletPanel.java:567)
         at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1778)
         at sun.applet.AppletPanel.runLoader(AppletPanel.java:496)
         at sun.applet.AppletPanel.run(AppletPanel.java:293)
         at java.lang.Thread.run(Thread.java:536)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:252)
         at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:42)
         at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:143)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:140)
         ... 10 more

    Goto Tools, Internet Options, Advanced, scroll down to Java (Sun) Unclick (no check mark) Use Java 2 1.x.x for <applet>, close all IE windows. Open IE, try again.

  • Server JVM for JSDK 1.4.1 (Windows)

    Where can I get the server JVM for JSDK 1.4.1 ?
    C:\>java -server -version
    Error: no `server' JVM at `C:\Program Files\Java\j2re1.4.1\bin\server\jvm.dll'.
    I also checked the j2sdk1.4.1 install directory and the server jvm is not packaged with it either.
    The Solaris version came a server jvm, but not the windows version. Is there a separate server VM download for windows ? If so where is it ?

    I'm using 1.4.1 RC; on my install it is:
    c:\j2sdk1.4.1\jre\bin\server\jvm.dll
    for some odd reason, it is not installed into the C:\Program Files\Java... You can move it there manualy and it works.
    If anyone has any detailed info on why, please post a link; I'm curious.
    - Chris

  • How to download only jre 1.5

    Hello I need jre 1.5 for installing tomcat I don't need JSDK. Can any one tell me how to download only jre 1.5
    Regards,

    Check this out
    http://mindprod.com/jgloss/jre.html

  • Jsdk 1.3 SE installation question

    why does jsdk 1.3 SE installs two instances of JRE by default and why can't i prevent it? i am hapy with just one of them in my "java" directory. second one goes to "program files" directory without question asked, and i can't prevent it. i don't need it and it sould be an option.
    and why on earth do i get java.exe in "windows" directory??? probably to avoid seting the "PATH" env var. i can do it my self, i don't like files and executables everywhere.
    is there any way i can change installation procedure?

    why does jsdk 1.3 SE installs two instances of JRE by
    default and why can't i prevent it? i am hapy with
    just one of them in my "java" directory. second one
    goes to "program files" directory without question
    asked, and i can't prevent it. i don't need it and it
    sould be an option.
    The one that is in the jdk's directory is the runtime environment for the jdk. The one that is in the "program file" directory is the Java Plug-in for browsers.
    and why on earth do i get java.exe in "windows"
    directory??? probably to avoid seting the "PATH" env
    var. i can do it my self, i don't like files and
    executables everywhere.
    It is easier for the browser to run the applets since the "Windows" path is always set by default. Also it is easier for those people just want to run Java program and have no idea about environment variable for the system.
    is there any way i can change installation procedure?
    No, only 1.4 has the option not to install the plug-in. If you don't like it, just uninstall it.

  • Version of JSDK?

    How can I determine the version of JSDK in java code? Thanx

    Use the System property:
    String s = System.getProperty("java.version")
    This will return a string like "1.3.1"; this is the version of the JRE that you are running under. As far as I can tell, it works whether you are running from the command line, appletviewer, an IDE, or a browser (with or without the plug-in).
    HTH,
    Carl Rapson

  • Verifying JVM problem and how to delete the jre on linux

    I donot know is this the correct forum for this message or not but could you please help me.
    I had first installed jre-1_5_0_07-linux-i586.bin on my Fedora. Then when I tried to installed sjsas_pe-8_2_2005Q2-nb-5_0-fcs-bin-linux.bin
    The wizard asked me where the java sdk was or give it the path of the java. Because I had not yet installed jsdk then (Although I tried to give the path of jre).
    Now I have installed jdk-1_5_0_08-linux-i586.bin but when I started to install sjsas_pe-8_2_2005Q2-nb-5_0-fcs-bin-linux.bin it show that it had started the wizard on the first line and then it display that varyfing JVM and with that it ends.
    The same thing happens when I tried to install netbeans-5_0-linux.bin
    So First how can I install them and second can you please tell me how can I uninstall jre from the system (is there some procedure that I had to follow or I can just simply delete the jre (jre1.5.0_07) folder.
    Adeel Raza

    We are on r12, i have got the request to delete back-dated concurrent request "Purge Concurrent Request and/or Manager Data', but this request doesn't delete physical file (Log File, Out Put) from server side & increasing space , Please share any program which delete the physical file on server side.Please see these docs.
    Purge Concurrent Requests/Manager Data, FNDCPPUR, Not Removing Files From Filesystem [ID 1060707.1]
    Not All Files Are Purged [ID 1124774.1]
    Concurrent Processing - How To Run the Purge Concurrent Request FNDCPPUR, Which Tables Are Purged, And Known Issues Like Files Are Not Deleted From File System or Slow Performance [ID 822368.1]
    Concurrent Processing - Purge Concurrent Request and/or Manager Data Program (FNDCPPUR) [ID 104282.1]
    Thanks,
    Hussein

  • Pluginspage is not working in embed script in firefox 36 version. Actually wanna downlaod jre 1.8 . It was working on firefox 22 version. Please suggest

    <pre><nowiki>function createEmbed(divID, context, locale, server,client)
    var d = document.getElementById(divID);
    d.innerHTML = '<EMBED type="application/x-java-applet;version=1.8" CODE="com.cybertrust.webrao.WebRAOApplet.class"'+
    'JAVA_CODEBASE="'+context+'" '+
    'ARCHIVE="WebRAO.jar" '+
    'NAME="WebRAOApplet" '+
    'MAYSCRIPT="true" '+
    'pluginspage="http://javadl.sun.com/webapps/download/GetFile/1.8.0_31-b13/windows-i586/xpiinstall.exe"'+
    'L="'+locale+'" ' +
    'PinTimeout="'+server+'"'+
    'ClientTimeout="'+client+'"'+
    'separate_jvm="true"'+
    'java_version="1.8.0_31" />';
    }</nowiki></pre>
    We are using the above script. Defined the application/x-java-applet;version=1.8 So. as per the oracle documentation, Firefox has to check whether java version 1.8 or above is available and then run the applet thereby opening the run window and finally the applet window has to open. So the expectation is if 1.8 jre is not available it has to trigger the pluginspage attribute thereby redirecting to the jre autodownload url mentioned in pluginspage. This code use to work for firefox 21. Not sure why it will not work with any of the versions above 21. Right now we are trying with firefox 36. The same code works with IE 11 also. Please suggest is there any solution for the same.

    There are some updates happening to [https://www.mozilla.org/en-US/plugincheck/]
    However to further investigate I would suggest troubleshooting the installation of Java:
    *[http://kb.mozillazine.org/Java#Java_Deployment_Toolkit_plugin]
    *[https://support.mozilla.org/en-US/kb/troubleshoot-issues-with-plugins-fix-problems]
    Or also checking with Mozillazine or stackoverflow.com for compatibility and development troubleshooting is a good place to also look.

  • JRE bug or Windows Vista error?

    Hi everybody. I have a problem with the report generation. I'm using HSQLDB 1.8 as dbms. I am using Hibernate too but I am using a JDBC connection for the reports. I designed some reports with iReport 4.0. I have two types of reports in my application, the first type prints invoices and the second type prints sales reports.
    For the second type I need to include dates (using this notation '2011-1-1') in the WHERE statement. This kind of reports produces an exception but not the first type. This is the message when I request a sales report (I deleted some lines):
    net.sf.jasperreports.engine.JRException: Error executing SQL statement for : salescake
    at net.sf.jasperreports.engine.query.JRJdbcQueryExecu ter.create Datasource(JRJdbcQueryExecuter.java:169)
    at net.sf.jasperreports.engine.fill.JRFillDataset.cre ateQueryDa tasource(JRFillDataset.java:684)
    at net.sf.jasperreports.engine.fill.JRFillDataset.ini tDatasourc e(JRFillDataset.java:605)
    at net.sf.jasperreports.engine.fill.JRBaseFiller.setP arameters( JRBaseFiller.java:1281)
    at net.sf.jasperreports.engine.fill.JRBaseFiller.fill (JRBaseFil ler.java:901)
    at net.sf.jasperreports.engine.fill.JRBaseFiller.fill (JRBaseFil ler.java:845)
    at net.sf.jasperreports.engine.fill.JRFiller.fillRepo rt(JRFille r.java:58)
    at net.sf.jasperreports.engine.JasperFillManager.fill Report(Jas perFillManager.java:417)
    at net.sf.jasperreports.engine.JasperFillManager.fill Report(Jas perFillManager.java:247)
    at com.reports.SalesByCustomerReport.showReport(Sales ByCustomer Report.java:24)
    at com.presentation.SalesByCustomerInternalFrame.view InvoiceBut tonActionPerformed(SalesByCustomerInternalFrame.ja va:231)
    at com.presentation.SalesByCustomerInternalFrame.acce ss$100(Sal esByCustomerInternalFrame.java:17)
    at com.presentation.SalesByCustomerInternalFrame$2.ac tionPerfor med(SalesByCustomerInternalFrame.java:87)
    at javax.swing.AbstractButton.fireActionPerformed(Unk nown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed (Unknown Source)
    Caused by: java.sql.SQLException: Wrong data type: java.lang.IllegalArgumentException in statement [select I.INVOICE_NUMBER, I.SALE_DATE,I.CONSIGNEE,I.DESTINATION_COUNTRY,I.DE LIVERY_CON DITIONS,P.TARIFF_ENTRY,P.LOT,P.DRY_NET_WEIGHT,I.TO TAL
    from INVOICE I, PRODUCT P
    where I.INVOICE_ID=P.INVOICE_ID and I.CONSIGNEE='CONSORCIO MINERO S. A.' and I.SALE_DATE>='2011-1-20' and I.SALE_DATE<='2011-14-20' ]
    at org.hsqldb.jdbc.Util.throwError(Unknown Source)
    at org.hsqldb.jdbc.jdbcPreparedStatement.executeQuery (Unknown Source)
    at net.sf.jasperreports.engine.query.JRJdbcQueryExecu ter.create Datasource(JRJdbcQueryExecuter.java:163)
    ... 48 more
    I tested this query in the HSQLDB utility and it is correct. I am thinking that the problem could be the JRE, I am using this one:
    C:\Program Files\Java\jre6\bin>java -version
    java version "1.6.0_24"
    Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
    Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode, sharing)
    As you can see, my Windows Vista pc can't recognize the java command so I have to call it specifically from the directory where it is located. Maybe the problem is that I am using Windows Vista (I know it sucks but I had no time to change it).
    When I copy my program to my Windows XP computer it works fine. All the reports are shown correctly. This pc has this JRE:
    C:\Documents and Settings\Manuel & Juancho>java -version
    java version "1.6.0_01"
    Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
    Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)
    There is no problem to recognize the java command.
    Let me tell you something. Is it possible that HSQLDB or iReport can delete the database content? It happened to me. I was designing my last report and a "No pages in document" message was shown. I thought that I was wrong. Finally I checked the database and there was no data! What is the problem?
    Please help me.
    Thanks in advance.

    853741 wrote:
    For the second type I need to include dates (using this notation '2011-1-1') No, you should not be using any notation. Presumably it's a DATE or DATETIME column. So you use a PreparedStatement's setDate() or setTimestamp() method.
    in the WHERE statement. This kind of reports produces an exception but not the first type. This is the message when I request a sales report (I deleted some line
    Caused by: java.sql.SQLException: Wrong data type: java.lang.IllegalArgumentExceptionI expect that kind of error would be less likely with PreparedStatements.
    I tested this query in the HSQLDB utility and it is correct. I am thinking that the problem could be the JREAs already pointed out, for something so trivial, it's extremely unlikely that you've uncovered a JRE bug.
    As you can see, my Windows Vista pc can't recognize the java command Because you haven't set up your PATH correctly.

Maybe you are looking for