Setting up Java 3D in linux for Eclipse programming...

I'm trying to start programming with Java 3D, but I think I'm having problems with the initial setup. I installed Java3D using the amd64 bin script into the active jre: /usr/lib/jvm/java-6-sun/jre/. I'm working in Eclipse and have included j3dcore.jar, j3dutils.jar, and vecmath.jar in the build path. It compiles just fine.
My program is a very simple test from a tutorial:
package tests;
import com.sun.j3d.utils.universe.SimpleUniverse;
import com.sun.j3d.utils.geometry.ColorCube;
import javax.media.j3d.BranchGroup;
public class Hello3d {
  public Hello3d()
    SimpleUniverse universe = new SimpleUniverse();
    BranchGroup group = new BranchGroup();
    group.addChild(new ColorCube(0.3));
    universe.getViewingPlatform().setNominalViewingTransform();
    universe.addBranchGraph(group);
  public static void main(String[] args) {
    new Hello3d();
    System.out.println("blah");
}And I get the following exception when it runs:
Exception in thread "main" java.lang.NoClassDefFoundError: javax.media.j3d.X11NativeConfigTemplate3D
   at java.lang.Class.initializeClass(libgcj.so.90)
   at java.lang.Class.forName(libgcj.so.90)
   at javax.media.j3d.NativeConfigTemplate3D$1.run(NativeConfigTemplate3D.java:60)
   at java.security.AccessController.doPrivileged(libgcj.so.90)
   at javax.media.j3d.NativeConfigTemplate3D.createNativeConfigTemplate3D(NativeConfigTemplate3D.java:55)
   at javax.media.j3d.NativePipeline.initialize(NativePipeline.java:107)
   at javax.media.j3d.Pipeline.createPipeline(Pipeline.java:151)
   at javax.media.j3d.MasterControl.loadLibraries(MasterControl.java:926)
   at javax.media.j3d.VirtualUniverse.<clinit>(VirtualUniverse.java:280)
   at java.lang.Class.initializeClass(libgcj.so.90)
   at java.lang.Class.initializeClass(libgcj.so.90)
   at tests.Hello3d.<init>(Hello3d.java:11)
   at tests.Hello3d.main(Hello3d.java:19)
Caused by: java.lang.ClassNotFoundException: sun.awt.X11GraphicsDevice not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/home/max/Dropbox/Projects/Basic Java3D Linux AMD64/,file:/home/max/Dropbox/Projects/Basic Java3D Linux AMD64/Java3D/Linux AMD64/lib/ext/j3dcore.jar,file:/home/max/Dropbox/Projects/Basic Java3D Linux AMD64/Java3D/Linux AMD64/lib/ext/j3dutils.jar,file:/home/max/Dropbox/Projects/Basic Java3D Linux AMD64/Java3D/Linux AMD64/lib/ext/vecmath.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
   at java.net.URLClassLoader.findClass(libgcj.so.90)
   at java.lang.ClassLoader.loadClass(libgcj.so.90)
   at java.lang.ClassLoader.loadClass(libgcj.so.90)
   at java.lang.Class.forName(libgcj.so.90)
   at java.lang.Class.initializeClass(libgcj.so.90)
   ...12 moreI installed libgcj via Synaptic (I'm running Ubuntu) but still get the same error, so I'm unsure how I should proceed. Any ideas what's wrong?

A late reply but I encountered the same issue. For anyone who googles this thread and everyone else I have a solution!
Use Sun's JRE! It seems GCJ doesn't support the API 100% so what you need to do is
$ sudo apt-get install sun-java6-jreand then in Eclipse change the default workspace JRE or the project JRE to the new one. Eclipse apparently only scans the system for installed JREs on first run so you need to add it manually:
Right click on project, select Properties. Go to panel Java Build Path and select tab Libraries. Select your JRE from this list, it should be named similar to java-1.5.0-gcj-4.3-1.5.0.0, and click Edit. Click Installed JREs and then Add.
Enter a descriptive JRE name, such as Java 6 Sun JRE 1.6.0.x and then enter the path where the JRE is installed - on my Ubuntu machine it's in +/usr/lib/jvm/java-6-sun/jre+.Select OK twice, select the new JRE as the default for all projects in the workspace or select it via the Alternate JRE setting which will only use Sun's JRE for this project.
Good luck!

Similar Messages

  • Parameter set in Java stack for retention of messages in PI

    Hi,
    Can you tel me which paramter is set in Java stack for retention of messages in adapter engine and where we can we find in Java stack?
    Thanks.

    RWB --> Component MOnitoring --> Adapter Engine --> Background Processing
    http://help.sap.com/saphelp_nwpi71/helpdata/en/05/b1b740f83db533e10000000a155106/frameset.htm

  • DOWNLOAD CRYSTAL REPORTS FOR ECLIPSE 1.0.8 not compatible with java 1.4

    Hi,
    I understand that this plugin requires java 1.5. However, due to my company's existing infrastructure, I have to use java 1.4 for my web applications.
    May I know if there is a older version of the CRYSTAL REPORTS FOR ECLIPSE compatible with java 1.4 (manual installation) available for download ?
    Thanks in advance.

    You can download Java Runtime version 11.8.8.x [here|http://downloads.businessobjects.com/akdlm/crystalreportsforeclipse/1_0/crystalreports-javasdk-11.8.8.zip]
    It supported JDK 1.4 for a few different web application server deployment. Check platform.txt in it. However this is very old version of CR runtime and can cause other issues in crystal reports rendering etc. in which case the only solution would be to get the latest CRJ runtime.

  • Is it valuable for processor(CPU)  to use the instruction set of java virtual machine?

    I've got an idea that processor(CPU) would use an instruction set like java virtual machine instead of assembly language whose instruction includes MOV ,INC ,ADD AX, ....
    Thus this type of processor(CPU)  can support any java program just like Windows with a java virtual mache software package.
    Thus the operating system like Android, Windows Phone can be writen in Java. For embeding system with no operating system , programs  can also be writen in Java directly.

    Well, this is rather off-topic but… Sun once designed a Java-Core that was running Java natively, but they never went anywhere with it. Java code, when created  well, runs reasonably fast. It seems just that most of todays programmers don't know, what they're doing, when they're writing Java code.

  • Java ME SDK 8 Plugins for Eclipse?

    When will an Oracle Java ME SDK 8 (Early Access 2, )Plugins for Eclipse become available?
    Thanks.

    We plan to have Eclipse support around June/July, in accordance with the original Eclipse schedule for Java 8 support - this is because ME SDK 8 also needs the updated Eclipse MTJ framework.
    Best,
    -- Terrence

  • [svn:fx-trunk] 7825: Updating sample Java formatter for Eclipse projects to stop reformatting method arguments .

    Revision: 7825
    Author:   [email protected]
    Date:     2009-06-13 14:17:47 -0700 (Sat, 13 Jun 2009)
    Log Message:
    Updating sample Java formatter for Eclipse projects to stop reformatting method arguments.
    QA: No
    Doc: No
    Modified Paths:
        flex/sdk/trunk/development/eclipse/java/formatter.xml

    If you're still using Buckminster 3.6, I strongly suggest switching to 3.7 - it has a number of bug fixes and improvements. This applies to both headless, and the IDE (assuming Eclipse 3.7 Indigo).
    Matthew

  • Sun java web server for Zlinux (Linux for System Z)?

    Hi
    thank you for reading my post
    Is there any version of Sun java web server available for Z linux?
    Or its better to say whether linux edition of sun java web server run under Zlinux (linux for System Z)
    thanks

    No version of Web Server is certified on ZLinux.

  • Need Earlier Version of BB java plugin for eclipse 1.1.0 or 1.0

    Hello All
    I need earlier version of BB Java Plugin for eclipse 1.1.0 or 1.0 for BB 4.5 to 5.0.
    so Is there a place to download Blackberry Java Plug in for Eclipse 1.0?
    if anyone can help please help me.
    Thanks in advance
    Manish

    I maybe wrong, but I don't think there is. iBooks was only released in January 2010 and (from memory) I'm fairly certain iBooks always needed 4.0 or later.
    More to the point though, what "possible problems" are you referring to? There are plenty of people who have downloaded 4.0 and now iOS4.1 without any problems at all. I'm one of them. Don't let "horror stories" in this forum put you off, no one posts a new topic with the title "I've had no problems". (That would probably be identified as the world's most boring post if it existed!)
    Phil

  • Hiring JAVA Developer for Eclipse, Czech republic - BRNO

    For our client we are looking for a passionate Java developer. This position is for experienced developers.
    Our client in Brno develops software tools for programming microcontrollers (Kinetis Design Studio). JAVA developer will be responsible for software development, integration of third-party software and customer collaboration.
    The offer is ideal for experienced developers who want to develop in the Eclipse and then you improve your knowledge in strong foreign company, which provides a great working environment and a large range of employee benefits.
    JAVA Developer for Eclipse
    MAIN RESPONSIBILITIES:
    * Design and develop Eclipse based software & system applications for Freescale microcontrollers
    * Integration of 3rd party SW into Eclipse, especially C Toolchain and debugger
    * Support customers as they develop embedded HW & SW applications
    * Support new products from pre-silicon phase to customer's final applications
    * Design test specifications
    KEY REQUIREMENTS:
    * Eclipse development (Eclipse java plugins, Eclipse framework, OSGi framework)
    * Skills in SW development Java programming and testing
    * English and communication skills
    Jana Buraltova
    Please send your CV and your earliest possible starting date by e-mail to [email protected]

    Hi,
    This is something we have expertise in and would love to collaborate on. Where can I reach out to you for details?
    RIKSOF
    Web & Mobile App Developer
    Phone: +1 (415) 429-6987
    +44 1593 362020
    Skype: riksof.skype
    Email: [email protected]

  • I have OSX 10.7 Lion I set up a separate email account for my wife.  Now when she tries to enter a website we get the following error message:  Java Script: Not Null validator already loaded.  The website never opens and it is difficult to get out of:

    I have OSX 10.7 Lion.  I set up a separate email account for my wife.  All of a sudden when she tries to enter and website from email we get the following error message.  JavaScript;  The notnull validator has already been loaded.  From there we can't seem to go any where.  When you hit OK it just keeps appearing and the only way to get out of it is to quit Safai.  If you try and got directly to Safari you get the same error message and can't go any further.  Please help.

    What you are experiencing is 100% related to Malware.
    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

  • Weblogic plugin 1.0.0 for Eclipse

    Hello,
    I have installed the plugin for Eclipse 3.0.0.
    I get the following error when i try to set the Vm options at Eclipse
    java.lang.NoClassDefFoundError: org/eclipse/debug/internal/ui/preferences/ComboFieldEditor
    And i dont find this class at the library?
    Is this plugin for the earlier release of Eclipse???
    thanks
    Aravind

    I can confirm this too - Eclipse 3.0, WL 6.1, JDK 1.3.1 on Linux.
    "Quinton" <[email protected]> wrote:
    >
    >
    I am also getting the same problem. I am guessing this is due to the
    Eclipse V3.
    Anyone from BEA able to verify?
    Thanks!
    Aravind" <[email protected]> wrote:
    Hello,
    I have installed the plugin for Eclipse 3.0.0.
    I get the following error when i try to set the Vm options at Eclipse
    java.lang.NoClassDefFoundError: org/eclipse/debug/internal/ui/preferences/ComboFieldEditor
    And i dont find this class at the library?
    Is this plugin for the earlier release of Eclipse???
    thanks
    Aravind

  • Exception-Error when excecuting JSP-File in Crystal reports for Eclipse

    Hi,
    I have created a jsp-File from an rpt-File in Crystal report for Eclipse. When I start the jsp-File on Apache Tomact 5.5 then only errors occurs.
    Coud anyone help me?
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP:
    An error occurred at line: 6 in the generated java file
    Only a type can be imported. com.crystaldecisions.report.web.viewer.CrystalReportViewer resolves to a package
    An error occurred at line: 7 in the generated java file
    Only a type can be imported. com.crystaldecisions.reports.sdk.ReportClientDocument resolves to a package
    An error occurred at line: 8 in the generated java file
    Only a type can be imported. com.crystaldecisions.sdk.occa.report.application.OpenReportOptions resolves to a package
    An error occurred at line: 9 in the generated java file
    Only a type can be imported. com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase resolves to a package
    An error occurred at line: 10 in the generated java file
    Only a type can be imported. com.crystaldecisions.sdk.occa.report.reportsource.IReportSource resolves to a package
    An error occurred at line: 13 in the jsp file: /Bericht1-viewer.jsp
    ReportClientDocument cannot be resolved to a type
    10:      try catch (ReportSDKExceptionBase e)
    60:      
    An error occurred at line: 58 in the jsp file: /Bericht1-viewer.jsp
    e cannot be resolved
    55:
    56:
    57:      } catch (ReportSDKExceptionBase e)
    60:      
    61: %>
    Stacktrace:
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:93)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
         org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:435)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.26 logs.
    Apache Tomcat/5.5.26
    Bericht1.jsp:
    <%@page import="com.crystaldecisions.report.web.viewer.CrystalReportViewer,
    com.crystaldecisions.reports.sdk.ReportClientDocument,
    com.crystaldecisions.sdk.occa.report.application.OpenReportOptions,
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase,
    com.crystaldecisions.sdk.occa.report.reportsource.IReportSource"%><%
         // This sample code calls methods from the JRCHelperSample class, which
         // contains examples of how to use the BusinessObjects APIs. You are free to
         // modify and distribute the source code contained in the JRCHelperSample class.
         try {
              String reportName = "Bericht1.rpt";
              ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);
              if (clientDoc == null) {
                   // Report can be opened from the relative location specified in the CRConfig.xml, or the report location
                   // tag can be removed to open the reports as Java resources or using an absolute path
                   // (absolute path not recommended for Web applications).
                   clientDoc = new ReportClientDocument();
                   // Open report
                   clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);
                   // Store the report document in session
                   session.setAttribute(reportName, clientDoc);
                   // ****** BEGIN CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET **************** 
                        // Create the CrystalReportViewer object
                        CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();
                        //     set the reportsource property of the viewer
                        IReportSource reportSource = clientDoc.getReportSource();                    
                        crystalReportPageViewer.setReportSource(reportSource);
                        // set viewer attributes
                        crystalReportPageViewer.setOwnPage(true);
                        crystalReportPageViewer.setOwnForm(true);
                        // Apply the viewer preference attributes
                        // Process the report
                        crystalReportPageViewer.processHttpRequest(request, response, application, null);
                   // ****** END CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET ****************          
         } catch (ReportSDKExceptionBase e) {
             out.println(e);
    %>
    Thanks
    Arnold

    According to the release notes, for the JRCHelperSample to compile, you must set the target runtime for the project.
    To do this, either create a project from scratch that uses the Tomcat 5.5 target runtime, or go to the properties menu and ensure that the target runtime is set to the application server you will be using.

  • Crystal Reports for eclipse 2.0 deployed on unix

    Hi,
    We have designed few crystal reports using u201CCrystal Reports for Eclipse 2.0u201D on windows platform. We have embedded this report into a J2EE Web application and deployed the web application on Tomcat 6.X server.
    We are able to generate the reports successfully on windows environment. But when deployed the web Application on to Tomcat server 6.X on Solaris environment we get runtime exception as below.
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKClientDocException: The document has not been opened.---- Error code:-2147215349.
    It is failing at At clientDoc.open(reportName, OpenReportOptions._openAsReadOnly) of the JSP whaich was shared where clientDoc is an object of ReportClientDocument. That is it is failing to open the .rpt.
    The eclipse generated JSP used to invoke the report sa follows.
    <%@ page contentType="text/html; charset=iso-8859-1" pageEncoding="ISO-8859-1" %><%@ page import="com.businessobjects.samples.CRJavaHelper,
    com.crystaldecisions.report.web.viewer.CrystalReportViewer,
    com.crystaldecisions.sdk.occa.report.application.OpenReportOptions,
    com.crystaldecisions.sdk.occa.report.application.ReportClientDocument,
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase,
    java.util.Calendar,
    java.util.Date,
    java.text.DateFormat,
    java.text.SimpleDateFormat" %><%
    // This sample code calls methods from the CRJavaHelper class, which
    // contains examples of how to use the BusinessObjects APIs. You are free to
    // modify and distribute the source code contained in the CRJavaHelper class.
    try {
      HttpSession sessionObj = request.getSession();
      String reportName = "reports/EmailDataReport.rpt";
      String attStartDate = (String)sessionObj.getAttribute("CalendarStartDate");
      String attEndDate = (String)sessionObj.getAttribute("CalendarEndDate");
      //attStartDate = "2/12/2004";
      //attEndDate = "2/17/2009";
      // spliting the start and end date
      String [] arrStDate = null;
      String [] arrEndDate = null;
      arrStDate = attStartDate.split("/");
      arrEndDate = attEndDate.split("/");
      ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);
      if (clientDoc == null) {
       // Report can be opened from the relative location specified in the CRConfig.xml, or the report location
       // tag can be removed to open the reports as Java resources or using an absolute path
       // (absolute path not recommended for Web applications).
       clientDoc = new ReportClientDocument();
    try{
       clientDoc.setReportAppServer(ReportClientDocument.inprocConnectionString); 
       // Open report
       clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);
       //DateFormat df = new SimpleDateFormat("dd/MM/yyyy");
    }catch(Exception e){
    out.println(" -
    Error while opening the report $$$$$$$$$$$"e.toString()"\n");
       // ****** BEGIN SET RUNTIME DATABASE CREDENTIALS **************** 
        String connectString = "XXXXXX
        String driverName = "oracle.jdbc.OracleDriver";
        String JNDIName = "";
        String userName = "YYYYY";   // TODO: Fill in database user
        String password = "ZZZZZZZZZ";  // TODO: Fill in password
        // Switch all tables on the main report and sub reports
        CRJavaHelper.changeDataSource(clientDoc,reportName,null,userName, password, connectString, driverName, JNDIName);
        // logon to database
        CRJavaHelper.logonDataSource(clientDoc, userName, password);
       // ****** END SET RUNTIME DATABASE CREDENTIALS ****************
       // ****** BEGIN CONNECT PARAMETERS SNIPPET **************** 
        // DATE VALUE PARAMETER.
        Calendar calendar = Calendar.getInstance();
        calendar.set(Integer.parseInt(arrStDate[2]), Integer.parseInt(arrStDate[0])-1, Integer.parseInt(arrStDate[1]));
        Date dateParamVal = calendar.getTime(); // TODO: Fill in value
        CRJavaHelper.addDiscreteParameterValue(clientDoc, "", "StartDate", dateParamVal);
        // DATE VALUE PARAMETER.
        Calendar calendar = Calendar.getInstance();
        calendar.set(Integer.parseInt(arrEndDate[2]), Integer.parseInt(arrEndDate[0])-1, Integer.parseInt(arrEndDate[1]));
        Date dateParamVal = calendar.getTime(); // TODO: Fill in value
        CRJavaHelper.addDiscreteParameterValue(clientDoc, "", "EndDate", dateParamVal);
       // ****** END CONNECT PARAMETERS SNIPPET ****************
       // Store the report document in session
       session.setAttribute(reportName, clientDoc);
      // ****** BEGIN CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET **************** 
       // Create the CrystalReportViewer object
       CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();
       String reportSourceSessionKey = reportName+"ReportSource";
       Object reportSource = session.getAttribute(reportSourceSessionKey);
       if (reportSource == null)
        reportSource = clientDoc.getReportSource();
        session.setAttribute(reportSourceSessionKey, reportSource);
       // set the reportsource property of the viewer
       crystalReportPageViewer.setReportSource(reportSource);
       // Apply the viewer preference attributes
       // Process the report
       crystalReportPageViewer.processHttpRequest(request, response, application, null);
      // ****** END CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET **************** 
    } catch (ReportSDKExceptionBase e) {
         out.println(e);
    %>
    Note : We have not installed any crystal report servers in both windows or UNIX environment.But we have deployed all the relavant crystal report jars for the java runtime environment.
    If anyone has come across such error please help. Also let me know if we need to have external RAS set up for this?By default the the RAS will be set to "inproc:jrc"  which works fine on windows environment.
    regards,
    Madhu

    I am having similar problems.  Environment works perfectly in Windows.  All JARS and config files moved to AIX UNIX machine.  I get nothing more than a Crystal Reports 'Error' on the screen!!!
    Any ideas since this was posted??

  • Why opening from java the rpt search for a JNDI when it's setup for a DNS ?

    I downloaded CR for eclipse 2.
    All is 'quite' working froma a java app.
    i've only a problem with an 'jndi name search error'. I'll try to explain.
    In the RPT i use a DSN connection to a sql server into a differente machine. When I open directly the rpt, all is working.
    From java code, i'll open the report, but when i try to export  to pdf iit tell me about an error 'jndi name search error', with the name of the DSN connection i setup.
    Why? Why opening rpt all is working, but opening from code NOT is working ?
    What's the difference from two opening methods? Why an .rpt opened from java cannot just open the connection like when opened from cristal report !?
    *My question is: why opening from java the rpt search for a JNDI when it's setup for a DNS connection ?! *

    The .rpt has been originally created from an ancient version of Cristal report. probably the '8'.
    In an italian software called 'Business', the .rpt is populated for printing of invoices and similar docs.
    My society is trying to 'integrate' our software with the .rpt used from our customer.
    So we want simply open .rpt, add a new logo, set the selection for record and save as pdf.
    We so bought Cristal report 2008 (v.12 ), opened the .rpt, saved (so it 's now in a supported version).
    The sql server is located at 10.1.2.40, and is a Microsoft Sql Server.
    In my development pc I've installed Cr 12. I added a User DSN to point to Sql server at 10.1.2.40, at right DB with username and password. Opening from my development machine the .rpt and 'running' it, it display the data. Ok !
    I downloaded CR4 Eclipse 2.
    I open report using the unmanaged sdk. (to access it through file system, not via RAS), Ok.
    I set selection record. Ok.
    I execute .export with 'PDF' for format option and here I get an exception: the JNDI name 'CPR'  is not found. Where CPR is the DSN name setup into .rpt from Cristal Report 2008.
    So, no, i'm not trying to using the designer from Eclipse, but from the full application. But I must use the rpt at runtime to export some rendered records.
    What must I do to do this?
    CR4E only supports java based connections, so it is looking for the JDBC/JNDI name and won't look at the DSN's.
    How Can i setup at runtime a JDBC / JNDI connection ?
    I already have a 'connection' from my code to the sql server, using sqlserver jdbc driver v. 4 from microsoft. And executing query I see the results. So i have right driver, ip, db name, user name and password
    But is there a way to simply tell at runtime to my .rpt to use THIS connection? Or a similar connection...
    Thanks in advance for help provided to us. (we bought a CR license only for this work...)

  • Crystal Reports for Eclipse vs. Crystal Reports Developer

    We are developing a Java web application for internal use.  Since we have some people at the company who are familiar with Crystal Reports, we'd like to have them write reports that we can display through our application.  Crystal Reports Server seems like overkill for this project, but the <a href="http://devlibrary.businessobjects.com/BusinessObjectsXIR2/en/devsuite.htm#en/JRC_SDK/">JRC</a> sounded like a good fit.
    I have been evaluating <a href="http://www.businessobjects.com/products/reporting/crystalreports/developer/default.asp">Crystal Reports Developer</a> and trying out the <a href="http://support.businessobjects.com/communityCS/FilesAndUpdates/crxi_r2_jrc_web_samples.zip.asp">JRC samples</a>.  The samples don't use the tag library.  Instead, they show how to set session variables and redirect to a viewer JSP which contains a bunch of Java code to use the CrystalReportViewer.
    The samples are so much more complex than the code created by Crystal Reports for Eclipse, which simply uses the tag library:
    <%@ taglib uri="/crystal-tags-reportviewer.tld" prefix="crviewer" %>
    <crviewer:viewer reportSourceType="reportingComponent" viewerName="myreport-viewer" reportSourceVar="myreport" isOwnPage="true">
    <crviewer:report reportName="myreport.rpt" />
    </crviewer:viewer>
    I assume that I should be able to use the same tag library approach without using Crystal Reports for Eclipse, but I haven't seen any tutorials on it.  I'm trying to understand whether I should purchase Crystal Reports for Eclipse instead of Crystal Reports Developer.
    This is the difference, as I understand it:
    Crystal Reports Developer gives you the stand-alone Crystal Reports Designer and the right to run the JRC on an internal server.  It costs <a href="http://store.businessobjects.com/store/bobjects/DisplayProductDetailsPage/productID.40434600">$595</a>.
    Crystal Reports for Eclipse Standard provides a free report designer built into Eclipse.  It also includes the JRC for use on an internal server.
    Crystal Reports for Eclipse Professional provides "a more powerful runtime engine" with the right to run it on one internal server.  It costs <a href="http://store.businessobjects.com/store/bobjects/DisplayProductDetailsPage/productID.52068100">$495</a>.  Is this the same JRC provided with Crystal Reports Developer?
    If the "powerful" JRC is the same as Crystal Reports Developer's JRC, could I install Crystal Reports for Eclipse Standard to take advantage of the Eclipse integration and the built-in designer, but use the more powerful JRC from Crystal Reports Developer, which would also give me the stand-alone designer?

    <p>Hi there,</p><p>     If you are planning on deploying a JRC application then you should definitely be using Crystal Reports for Eclipse for your runtime engine. It is the latest version of the JRC and includes many updates not available in Crystal Reports Developer.</p><p>As for "power" the JRC included in CR Developer is on par with the JRC available in the Basic edition of Crystal Reports for Eclipse. The Professional edition of Crystal Reports for Eclipse provides the most powerful version of the JRC available.</p><p>With the release of Crystal Reports for Eclipse, Business Objects is setting the groundwork for separating Developer needs from the Report Author needs.</p><p>A professional report author will require a professional report design tool. For these users we are recommending that they purchase Crystal Reports Professional.</p><p>The developer, on the other hand, generally needs the SDKs and a toolkit to assist with building applications. We believe that these should be available at no cost to the developer, only charging when the application is deployed (in this case a CR4E Pro license). This is different from the current model with Crystal Reports Developer where we have combined a professional report designer plus the required runtime.</p><p>So, to summarize, definitely use Crystal Reports for Eclipse for your application runtime and have your report authors puchase Crystal Reports Professional. If you need a more powerful engine, access to technical support or plan to deploy on multiple servers then I would recommend purchasing the Crystal Reports for Eclipse Professional license for your development purposes.</p><p>As for some tutorials on creating viewer pages, the integration in Eclipse provides a very simple way of accomplishing this. I would suggest reading the section titled "<strong>Creating a New Viewer Page</strong>" in our Getting Started Guide found at the following URL:</p><p><a href="/node/320"><strong> http://diamond.businessobjects.com/node/320</strong></a></p><p>Let me know if you have some follow-up questions. </p><p>Regards,<br />Sean Johnson (CR4E Product Manager) <br /><strong><br /><a href="http://www.eclipseplugincentral.com/Web_Links-index-req-ratelink-lid-639.html">Rate this plugin @ Eclipse Plugin Central</a></strong>           </p>

Maybe you are looking for

  • Wlan not working in win 10 in hyper v

    hi ,  I have installed Windows 10 preview in my Hyper V using Windows 8.1.  i have followed this steps in these urls http://blog.credera.com/technology-insights/microsoft-solutions/using-your-windows-8-wireless-connection-inside-hyper-v/ http://blogs

  • JRun 4.0 initialization in iPlanet-WebServer fails

    We are facing problem with JRun 4.0 initialization in iPlanet Web Server 6.0SP9. Recently sun patch was applied with details as follows: NAME: Solaris 8 Recommended Patch Cluster DATE: Oct/04/06 And after this we have observed the JRun 4.0 initializa

  • "iTunes has stopped working" (Buffer Overflow)

    My computer ran the update to 10.2.1.1 and some windows updates last night. I tried to start iTunes this morning and get an error saying "iTunes has stopped working". I have tried repair, un-install windows updates, un-istall iTunes and install legac

  • Why can't I get my name to change?

    I have my real name and my stage name and I want everything under my stage name.  I've changed it in my address book and on my account info, but recipients of my emails still see it as my real name.  How can I change it?  Thanks!

  • 1080-60i so why is is 30fps after importing?

    The whole interlaced vs progressive thing is confusing. I have a HF100 1080-60i camcorder (also records 720-30p, though not sure it is true 30p or not). When I import into iMovie as a 1080i file, its shows 1080i-30 in the finder and the .MOV clips al