Problem exporting JAR using Eclipse with JNIlib

Hi all,
I have a java application that is using an external JAR. The external JAR is coupling with a JNIlib.
When I 'export' my application to a runnable JAR in Eclipse, the external JAR is extracted and included in my runnable JAR. However, when I execute the runnable JAR, some functions of the application is not working due to missing library. After I put JNIlib into my Java/Extension, the runnable JAR then works fine.
I want to distribute the JAR to other people, but I can't ask them all to put JNIlib in their Java/Extension.
Does anyone have an idea? I am a novice to Java, it took me awhile to figure out how to create a runnable JAR.
Thank you very much.
Eagle.

first , it says unable to access jar file .
upon deeper inspection i found that background processes is created behind thus the jar file been activated but the UI doesnt show up? any more idea of where my codes gone wrong? which seems perfect for me
anyway thanks but i still .. it says unable to access jar file

Similar Messages

  • Problem Exporting .Jar Using Eclipse

    I have a small problem of exporting using Eclipse 3.2
    First , i could , debug , run as application with no problem.
    however after i compiled into jar , and i tried opening the jar file
    theres no responses. what could possibly be the problem ?
    my manifest file includes the main class of program and all external .jar files.
    below is my main class
    -automatic batch printing
    -able to select target folder for batch printing
    -able to select interval for printing
    -able to stop printing
    -includes log of activity of threads and printing services
    -free for all to use =D
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.Desktop;
    import java.awt.Graphics;
    import javax.swing.JFileChooser;
    import javax.swing.JPanel;
    import javax.swing.JFrame;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.print.*;
    import java.io.*;
    import java.util.*;
    import java.util.Timer;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javax.swing.*;
    import javax.swing.filechooser.*;
    import javax.swing.filechooser.FileFilter;
    import javax.print.*;
    import java.lang.Object;
    import java.awt.JobAttributes.*;
    import javax.swing.text.*;
    import javax.swing.text.html.HTMLDocument;
    import javax.swing.text.rtf.*;
    import java.awt.Dimension;
    import javax.swing.JEditorPane;
    import java.awt.Rectangle;
    import javax.swing.JOptionPane;
    import javax.swing.JScrollPane;
    import javax.swing.JButton;
    import javax.swing.JTextPane;
    import javax.swing.JTextArea;
    import javax.swing.JTextField;
    import javax.swing.JCheckBox;
    import javax.swing.JLabel;
    import javax.swing.SwingUtilities;
    import java.awt.Font;
    public class Test extends JFrame implements Printable{
         private static final long serialVersionUID = 1L;
         private JPanel jContentPane = null;  //  @jve:decl-index=0:visual-constraint="36,9"
         private JButton Open = null;
          Date date;
           class MyFilter extends javax.swing.filechooser.FileFilter {
                 public boolean accept(File file) {
                     String filename = file.getName();
                             if(file.isDirectory()){
                          return true;
                     }else{
                          return filename.endsWith(".rtf");
                 public String getDescription() {
                     return "Rich Text Format ( .rtf ) ";
         public Test() {
              super();
              initialize();
         public static void main(String[] args) {
              SwingUtilities.invokeLater(new Runnable() {
                   public void run() {
                        Test application = new Test();
                        application.show();
                        application.setLocationRelativeTo(null);
                        application.setVisible(true);
                        application.getJContentPane().setVisible(true);
         private void initialize() {     
              this.setSize(408, 282);
              this.setResizable(false);
              this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              this.setContentPane(getJContentPane());
              this.setTitle("Auto Print Utility");
              this.setVisible(true);
          * This method initializes jContentPane
          * @return javax.swing.JPanel
         private JPanel getJContentPane() {
              if (jContentPane == null) {
                   jLabel1 = new JLabel();
                   jLabel1.setBounds(new Rectangle(131, 102, 59, 16));
                   jLabel1.setFont(new Font("Apple Chancery", Font.PLAIN, 10));
                   jLabel1.setText("MilliSeconds");
                   jLabel = new JLabel();
                   jLabel.setBounds(new Rectangle(16, 103, 53, 16));
                   jLabel.setText("Interval :");
                   jContentPane = new JPanel();
                   jContentPane.setLayout(null);
                   jContentPane.add(getOpen(), null);
                   jContentPane.add(getStop(), null);
                   jContentPane.add(getJTextField(), null);
                   jContentPane.add(getJScrollPane(), null);
                   jContentPane.add(getJScrollPane1(), null);
                   jContentPane.add(getJTextField1(), null);
                   jContentPane.add(jLabel, null);
                   jContentPane.add(jLabel1, null);
                   jContentPane.add(getJButton(), null);
              return jContentPane;
         static void printPrinterJob() {               
                    PrinterJob printerjob = PrinterJob.getPrinterJob();
                    // set the characteristics of
                    // the job to be printed - use setPageable and book if
                    // outputing a document. Use setPrintable for "simple" printing - all pages formatted the same
                    printerjob.setPrintable(new Test());
                    try {
                      PrintService[] ser =PrinterJob.lookupPrintServices();
                         ReadRegistry rr = new ReadRegistry();
                     int x =ser.length;
                      //  String def = rr.getPrinter();
                     String def ="Microsoft Office Document Image Writer";
                     for(int y=0;y<x;y++){
                         if(ser[y].getName().equals(def)){
                             printerjob.setPrintService(ser[y]);
                             System.out.println(ser[y]+" SET");
                         }else
                     System.out.println(ser[y]);
                    } catch (PrinterException exception) {
                       System.err.println("Printing error: " + exception);
       public static void disableDoubleBuffering(Component c) {
                  RepaintManager currentManager = RepaintManager.currentManager(c);
                  currentManager.setDoubleBufferingEnabled(false);
      public static void enableDoubleBuffering(Component c) {
                  RepaintManager currentManager = RepaintManager.currentManager(c);
                  currentManager.setDoubleBufferingEnabled(true);
      public boolean printfolder(){
              Desktop de = Desktop.getDesktop();
              java.io.File folder = new File(jTextField.getText());
              File[] listOfFiles = folder.listFiles();
               for (int i = 0; i < listOfFiles.length; i++) {
                    if (listOfFiles.isFile()) {
                        try {
                                  de.print(listOfFiles[i].getAbsoluteFile());
                                  File fi = new File(jTextField.getText()+"\\Deleted");
                                  fi.mkdir();
                                  Thread.currentThread().sleep(1000);
                                  listOfFiles[i].renameTo(new File("Z:\\BTSS Log\\Fax\\Y2007 M10 D25\\Deleted",listOfFiles[i].getName().toString()));
                             } catch (Exception e1) {
                                  // TODO Auto-generated catch block
                                  e1.printStackTrace();
              System.out.println("File: " + listOfFiles[i].getName());
              date = new Date();
              PrintLog.append("Printed : "+listOfFiles[i].getName()+" "+date.toString()+"\n");
              } else if (listOfFiles[i].isDirectory()) {
                   date=new Date();
              System.out.println("Directory: " + listOfFiles[i].getName()+" "+date.toString());
              PrintLog.append("No Files Printed "+date.toString()+"\n");
              return true;
         private JButton Stop = null;
         Thread tt = new Thread(){
              public void run(){
                   while(true){
                   int count = 0; // @jve:decl-index=0:
                   printfolder();
                   try {
                        Long lon = new Long(jTextField1.getText());
                        System.out.println(lon);
              tt.sleep(lon);
              } catch (InterruptedException e) {}
              count++;
              if (count >= 10000) break;
         private JTextField jTextField = null;
         private JScrollPane jScrollPane = null;
         private JScrollPane jScrollPane1 = null;
         private JTextField jTextField1 = null;
         private JLabel jLabel = null;
         private JLabel jLabel1 = null;
         private JTextArea PrintLog = null;
         private JTextArea ThreadLog = null;
         private JButton jButton = null;
         public void run(){
                   while(true){
                   int count = 0;
                   printfolder();
                   try {
              // Thread.sleep (300000);//
                        Long lon = new Long(jTextField1.getText());
                        System.out.println(lon);
              Thread.currentThread().sleep(lon);
              } catch (InterruptedException e) {}
              count++;
              if (count >= 10000) break;
         private JButton getOpen() {
              if (Open == null) {
                   Open = new JButton();
                   Open.setBounds(new Rectangle(11, 38, 187, 29));
                   Open.setText("Start");
                   Open.addActionListener(new java.awt.event.ActionListener() {
                        public void actionPerformed(java.awt.event.ActionEvent e) {
                             try{
                                  if(jTextField1.getText().equals("")){
                                       JOptionPane.showMessageDialog(null,"MilliSeconds Required, Please Enter A Valid Number Into The TextBox", "MilliSeconds Required", JOptionPane.ERROR_MESSAGE);
                                  }else if(jTextField.getText().equals("")){
                                       JOptionPane.showMessageDialog(null,"Please Specify Directory To Be Print From By Clicking On The TextBox", "Directory Missing", JOptionPane.ERROR_MESSAGE);
                                  }else{
                                       Long.parseLong(jTextField1.getText());
                                       try {     
                                                 if(tt.isAlive()) {
                                                           tt.resume();
                                                           date=new Date();
                                                           ThreadLog.append("Activity Resumes "+date.toString()+"\n");
                                                 } else {
                                                                tt.start();                    
                                                                date=new Date();
                                                                ThreadLog.append("Activity Started "+date.toString()+"\n");
                                                      } catch (Exception f) {
                                                           JOptionPane.showMessageDialog(null, f.getMessage(), "Error Occured", JOptionPane.ERROR_MESSAGE);
                             }catch(Exception f){
                                  JOptionPane.showMessageDialog(null, f.getMessage(), "Long Format Exception", JOptionPane.ERROR_MESSAGE);
              return Open;
         * This method initializes Stop     
         * @return javax.swing.JButton     
         private JButton getStop() {
              if (Stop == null) {
                   Stop = new JButton();
                   Stop.setBounds(new Rectangle(197, 38, 195, 29));
                   Stop.setText("Stop");
                   Stop.addActionListener(new java.awt.event.ActionListener() {
                        public void actionPerformed(java.awt.event.ActionEvent e) {
              try{
         tt.suspend();
         date = new Date();
         ThreadLog.append("Activity Suspend "+date.toString()+" \n");
              }catch(Exception g){
                   JOptionPane.showMessageDialog(null, g.getMessage(), "Error Occured", JOptionPane.ERROR_MESSAGE);
              return Stop;
         public int print(Graphics arg0, PageFormat arg1, int arg2) throws PrinterException {
              // TODO Auto-generated method stub
              return 0;
         * This method initializes jTextField     
         * @return javax.swing.JTextField     
         */JFileChooser jfc = new JFileChooser();
         private JTextField getJTextField() {
              if (jTextField == null) {
                   jTextField = new JTextField();
                   ReadRegistry rr = new ReadRegistry();
                   String dpath = rr.getDirecotry();
                   File file = new File(dpath);
                   jfc.setCurrentDirectory(file);
                   jTextField.setText(dpath);
                   jTextField.setBounds(new Rectangle(11, 14, 383, 20));
                   jTextField.setEditable(false);
                   jTextField.addMouseListener(new java.awt.event.MouseAdapter() {
                        public void mouseClicked(java.awt.event.MouseEvent e) {
                             jfc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
                             jfc.showOpenDialog(jContentPane);
                             File file = jfc.getSelectedFile();
                             String path = file.getAbsolutePath();
                             jTextField.setText(path);
              return jTextField;
         * This method initializes jScrollPane     
         * @return javax.swing.JScrollPane     
         private JScrollPane getJScrollPane() {
              if (jScrollPane == null) {
                   jScrollPane = new JScrollPane();
                   jScrollPane.setBounds(new Rectangle(197, 70, 193, 55));
                   jScrollPane.setViewportView(getThreadLog());
              return jScrollPane;
         * This method initializes jScrollPane1     
         * @return javax.swing.JScrollPane     
         private JScrollPane getJScrollPane1() {
              if (jScrollPane1 == null) {
                   jScrollPane1 = new JScrollPane();
                   jScrollPane1.setBounds(new Rectangle(14, 132, 375, 108));
                   jScrollPane1.setViewportView(getPrintLog());
              return jScrollPane1;
         * This method initializes jTextField1     
         * @return javax.swing.JTextField     
         private JTextField getJTextField1() {
              if (jTextField1 == null) {
                   jTextField1 = new JTextField();
                   jTextField1.setBounds(new Rectangle(70, 101, 62, 20));
              return jTextField1;
         * This method initializes PrintLog     
         * @return javax.swing.JTextArea     
         private JTextArea getPrintLog() {
              if (PrintLog == null) {
                   PrintLog = new JTextArea();
                   PrintLog.setEditable(false);
                   PrintLog.setFont(new Font("Arial", Font.PLAIN, 12));
              return PrintLog;
         * This method initializes ThreadLog     
         * @return javax.swing.JTextArea     
         private JTextArea getThreadLog() {
              if (ThreadLog == null) {
                   ThreadLog = new JTextArea();
                   ThreadLog.setEditable(false);
                   ThreadLog.setFont(new Font("Taffy", Font.PLAIN, 10));
              return ThreadLog;
         * This method initializes jButton     
         * @return javax.swing.JButton     
         private JButton getJButton() {
              if (jButton == null) {
                   jButton = new JButton();
                   jButton.setBounds(new Rectangle(12, 70, 185, 25));
                   jButton.setText("Reset");
                   jButton.addActionListener(new java.awt.event.ActionListener() {
                        public void actionPerformed(java.awt.event.ActionEvent e) {
                             Test nt = new Test();
                             nt.show();
                             hide();
              return jButton;
    } // @jve:decl-index=0:visual-constraint="-9,-14"
    i can compile into jar successfully but the jar file wouldn't respond.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  

    first , it says unable to access jar file .
    upon deeper inspection i found that background processes is created behind thus the jar file been activated but the UI doesnt show up? any more idea of where my codes gone wrong? which seems perfect for me
    anyway thanks but i still .. it says unable to access jar file

  • Problem Exporting / Importing print forms with program RSTXSCRP

    Hi!
    there is problem Exporting / Importing print forms with program RSTXSCRP.
    when I transfer print form from one SAP system to other, logo image and some text is missing... what could be the reason?
    Maybe there is other way to transfer print forms between SAP systems without using program RSTXSCRP?
    Will reward,
    Mindaugas

    Hi,
    when you transfer print forms from one sap system to another, logos are not transfered automatically. these are actually .bmp files which need to be existing in every client. then only when you run your print program logo can be seen in your print output. hence logos need to be created explicitly in every client where you want to run your print program.
    thanks,
    sksingh

  • Compiling with external JARs using Eclipse

    I've spent 3 days on this and I still don't seem to be any nearer solving the problem. I am using a couple of external JAR files within my project and everything is working fine within the IDE, it's when I come to compile my own JAR that I'm having problems. I've tried created my JAR by choosing file->export, but it doesn't seem to pull in the external JARs. My class paths must be correct as I can run it within the IDE, but I'm missing something.
    Next I discovered ANT and had a play with that. After some toil I got it to generate a JAR, but it has two problems. 1. The manifest file cannot be found, but let's forget about that for now, as I haven't really looked into it. 2. The generated JAR is only 250Kb, when (if the external JARs are packaged with it) it should be closer to 5Mb. Again I've set my class paths in the External Tools dialog, but still nothing.
    Could someone please try and point me in the right direction. I've even spent a couple of hours at Borders reading up on ANT and Eclipse, that where my ANT script came from, but it hasn't got me the result I need. If it's any help my build.xml is below
    <?xml version="1.0" encoding = "UTF-8"?>
    <project name="C_G" default="Main Build" basedir=".">
        <property name="bin" location="bin"/>
        <property name="src" location="."/>
        <property name="jardir" location="${bin}/lib"/>
        <property name="jarfile" location="${jardir}/c_g.jar"/>
        <property name="build.compiler"
        value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
        <target name="Main Build" depends="Initialize, Compile, Jar">
            <echo message="Ant Building"/>
        </target>
        <target name="Initialize">
            <delete dir="${bin}"/>
            <delete dir="${jardir}"/>
            <mkdir dir="${bin}"/>
            <mkdir dir="${jardir}"/>
        </target>
        <target name="Compile" depends="Initialize">
            <javac srcdir="${src}"
                destdir="${bin}">
            </javac>
        </target>
        <target name="Jar" depends="Initialize, Compile">
            <jar destfile="${jarfile}" basedir="${bin}"/>
        </target>
    </project>

    Damn it, so I do have to tackle the 'manifest not
    found problem' first then. I would have though
    Eclipse would have made a better job at making the
    manifest file.All I can say: RTFM. This is not an Eclipse support forum. Maybe it does, and you use some incorrect settings.
    I just placed it into the root of the JAR, but when I
    run it can't find itIt doesn't belong there. It goes into a directory named META-INF

  • Export JAR in eclipse: Errors

    Hi,
    I've just started using eclipse after a few months of using net beans. I've got my code running in eclipse, but creating a JAR file produces the error:
    "JAR export finished with warnings. See details for additional information."
    Then under details:
    Exported with compile warnings: /SimpleDMX/smallDMX/SmallDMX/Slider.java
    Exported with compile warnings: /SimpleDMX/smallDMX/SmallDMX/Fixture.java
    Exported with compile warnings: /SimpleDMX/smallDMX/SmallDMX/FixtureControlView.java
    Exported with compile warnings: /SimpleDMX/smallDMX/SmallDMX/FixtureManager.java
    Exported with compile warnings: /SimpleDMX/smallDMX/SmallDMX/FixtureView.java
    Exported with compile warnings: /SimpleDMX/smallDMX/SmallDMX/CompositeSnapControl.java
    Exported with compile warnings: /SimpleDMX/smallDMX/uk/co/pjnewman/dmx/DMXIOException.java
    Exported with compile warnings: /SimpleDMX/smallDMX/uk/co/pjnewman/dmx/OpenDMXUSB.java
    Exported with compile warnings: /SimpleDMX/smallDMX/uk/co/pjnewman/dmx/DLLLoadingException.java
    Exported with compile warnings: /SimpleDMX/smallDMX/uk/co/pjnewman/dmx/DongleConnectionException.java
    Exported with compile warnings: /SimpleDMX/smallDMX/uk/co/pjnewman/dmx/OpenDMXUSBException.java
    The above classes comprise about half of my project. I can't see why some classes are ok and others aren't. And also I have no idea what the error messages above mean. Not very descriptive or detailed!
    Help much appreciated

    Exported with compile warnings:This suggests that class files were placed into the jar file despite the fact that there were compiler warnings. These warnings could have been anything - it depends on the settings you have. They are warnings, however, not errors - so the compilation finished OK and the jar file was created. You can see what the warnings were by rebuilding your project and looking at the "Problems" pane usually near the bottom of the Eclipse screen.

  • Problem creating Jar in Eclipse

    I have a problem in exporting my eclipse java project to a jar file. It does not include the external jars used in the buildpath in the MF file. How to add external jars used in the project propoerties' buildpath in the MF file while exporting a Java Project to a jar? Thanks in advance.

    hi,
    there is no possibility in eclipse to export the external files from class path.
    but you can add the source files of your .jar to your project without using the class path.
    that should be the solution of your issue :)

  • Runnable JAR from Eclipse with DLL

    Hi,
    Is it possible to export a runnable jar from Eclipse that includes and uses a dll?
    My simple application uses an 'external' API - JIntelliType - a jar file and a dll belongs to it.
    I can run the project fine from Eclipse, but I can't export it to runnable jar. I am a bit lost among classpath, path, build path, native library location, referenced library,..
    But maybe it doesn't matter because after trying to look this question up on the net, I am not sure if it is possible to do it with Eclipse (not without additional plugin at least).
    Could somebody please help me with this?
    Thank you in advance!
    lemonboston

    Your question is that of deployment. In Eclipse you setup your development environment to include native binaries in the projects working directory. As soon as you leave Eclipse you do not have its facilities anymore and you need to make do with what the JDK has to offer you.So your real question is: I have a jar and a DLL, the jar depends on the DLL. How do I run the application such that the DLL can be loaded by it?
    The answer is: you can provide through a system property (java.library.path) which directory Java (and ultimately the operating system) should scan for native binaries, or you can simply put the DLL in the same directory as the jar. The current working directory (the directory where Java is invoked) is always on the binary search pat of the operating system.
    The documentation for the java tool is here:
    http://download.oracle.com/javase/6/docs/technotes/tools/windows/java.html
    To pass a system property as a parameter you would do something like:
    java -Djava.library.path=path/to/libs -jar yourjar.jar

  • Does anyone here use Eclipse with OSX

    I have recently graduated from a simple text editor and command line to trying to use an IDE, mostly because I'm using WSAD at work and want a similar environment at home. I've installed Eclipse 3.0, Tomcat 5.0.27 and the sysdeo tomcat plugin all on an imac running OSX Panther. I'm able to start and stop Tomcat from within Eclipse with the help of the plug-in, but I can't get Eclipse to open a JSP. I know Eclipse doesn't support JSPs but I thought the plug-in would help with that. I set my JRE to a JDK (I think), but with the way java is built into OSX and the naming scheme being used it's difficult to determine rather it really is pointing to a JDK. Has anyone else managed to get Eclipse to open JSPs and if so can you give me any words of enlightenment? Or am I better off just using XCode and starting and stopping tomcat from the terminal?
    Thanks for any help that might be given.

    I'm sorry I did mean "edit" a JSP. My xcode and terminal comment was meant to say editing with xcode and then starting and stopping tomcat with the terminal. I fully understand that I'll be viewing the results from a browser.
    I tried installing Lomboz last night but it didn't seem to help or really have any affect on Eclipse, I still couldn't edit a JSP. I'll work on it some more tonight.
    Not sure what the EMF plugin is, though I do understand the "Unbelievable" reference (so at least I have that going for me).
    If you can offer any more insight into things now that I've cleared up the "edit vs open" thing please pass then along. I'm just trying to set up a learning environment where I can use JSPs, struts, tiles, EJBs and servlets. It's simple here at work using WSAD but I'm trying to learn more and getting hung up on just getting my testing environment going.
    thanks the responses.

  • Problem creating jar using JDeveloper

    I'm creating jar using JDeveloper..I need to keep two dll files in the jar. But if I create the jar in JDeveloper, it can't include the dll files. If the jar is created from command prompt, it can include the dll files. Can anyone tell me how can I include these dlls in my jar?

    Putting DLLs in your classes directory is dangerous (eg. Run->Clean Project.jpr will remove it). I use a different way to achieve that:
    When you double click on the deployment profile you'll see a dialog window containing a list of items. The one of interest is the one called File Groups. Select this item, click on the New button and add a new file group just for your DLLs.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Export applet from eclipse with referenced jars?

    Hey guys,
    I've been looking around for a good answer for how to do this. I'm working on a project that consists of an applet (JApplet) and some referenced jars. In Eclipse I can export the jar but can't figure out how to get it to include all of the referenced jars as well. Any idea how to go about doing this?
    Thanks
    Edit:
    I came across this post:
    http://forums.sun.com/thread.jspa?forumID=421&threadID=630738
    but didn't find a suitable answer
    Edited by: JFactor2004 on May 17, 2010 1:24 PM

    Figured it out. Just had to include the names of the jars in the applet tag in the html file.

  • Problem in project using Eclipse+Tomcat+Apache Beehive

    Hi,
    Software used
    Operating System : Red Hat Linux
    IDE : eclipse 3.1 M7
    Server : Tomcat 5.5.10
    Webservice Package : Apache Beehive Build 20050505
    Plugin for integrating Apache Beehive with eclipse is POLLINATE
    My Problem: when I created my first webservice project . In all the log4j.xml files in the project. It gave an error saying that log4j.dtd file not found inside /root/workspace/SampleProject1/webcontent/WEB-INF/src/log4j.dtd
    Please provide me some suggestions to clean this error
    Thank you
    Mike

    didi you set the right path to the jre?
    there's a goog mailing llist for tomcat issues. go to the jakarta/tomcat website to subscribe. they might help you.

  • Using Eclipse with Tomcat

    I'm trying to get eclipse to work correctly with tomcat server. but when i create a project it creates it in my workspace folder and i can't run it on the server.
    I assume it has to create the project in the tomcat root directory in order for it to run properly but i don't know how to get eclipse to do this.
    Any help would be appreciated.

    What I use to do is
    File -> Export -> War File and it generates a war file. You set that war file in the webapps directory of tomcat and it self extracts the files in order to be used from the navigator

  • Problems setting up used ipa2 with ios7 due to Find My My Ipad Feature being left on by previous owner

    Hi!! Im having problems setting up a used ipad 2.with ios7. The previous owner forgot to turn off the find my ipad feature so now its asking me for her itunes username an password. I dont have that info and i lost her phone number

    yes my friend ios 7 was already loaded on when i bought it.    The person who sold it to me left the find my ipad feature ON. I called her and she said she would be in the next day to buy it back and since i actually belived her  i threw away her phone number. i dont know what i was thinking

  • Interesting Problem in VA4Java: Using POST with forward(req, res)

    I am trying to use POST Metod with forward(request, response) in VisualAge for java using webSphere test environment and getting an error page. Interesting thing is that if I set a breakpoint then I get the desired page otherwise an error page. However, if use GET Method everything works fine. What confuses me is that why POST method is not working without setting a breakpoint and running the code in debug mode? Does it has to do with WebSphere test environment or problem of using POST method with requrest forwarding in servelt API?

    Hi there,
    I am beginning in developping jsp / servlet in VAJ3.5 and Websphere Test Environment.
    i manage to run the servlet properly. unfortunetely the jsp is not working properly : in my hello.jsp (this example is coming from tomcat4.0), there is a method 'request.getContextPath()'
    WTE send me a message : 'method not found in interface javax.servet.http.HttpServletRequest'
    Any idea hox to solve this?
    VAJ3.5, WTE use JSP1.0, is it something linked to this?
    Thanks to you.
    Regards
    Hugues

  • Problem exporting video using compressor for a final cut pro vid

    I've created a video in Final Cut Pro and trying to export using compressor to apple tv. Each time about half way through it crashes final cut and gives me the 'final cut pro had to quit unexpectedly'.
    Haven't a clue what is going on, it happened sometimes when i was trying to conform to HD but when i did it bit by bit it was ok.
    All the media is online so really haven't a clue. I've tried using quicktime conversion in pro-res then bashing into compressor and it works but interlacing is all over the shop, even with de-interlace filter.
    ANy answers with regards to why its crashing greaty appreciated!
    P.S when it crashes says something about a pro-core plugin
    Message was edited by: jim__bob

    Hi Jim,
    Can you update your profile, we don't know what your hardware set up is or your OS, or version of FCS. It could give you answers a lot faster if we know your details from the off.
    Ok, what format is your original media, what are your sequence settings please.
    DM

Maybe you are looking for

  • Running Apache, question about spiders and bots

    I'm running Apache and set up a php traffic analzyer. I see that bots and spiders are able to track pages and directories which are not at all linked on any page. How on earth do they figure out my directory structure? And how do I stop it, it makes

  • Independent Cell Widths in a Table

    Okay, need some help here.  I may simpy be haveing brain freeze.  I'm trying to adjust cells to have 3 columns on top and two on the lower rows.  However, one og the columsn below wont change but reamin attached to any of the three columns on top (se

  • What does the " getPreferredSize() " mean?

    Hi everyone! Is there anyone who makes me to get clear understanding of what the method " getPreferredSize() " is? Have a nice one.

  • Firefox remains minimized on taskbar and won't open or maximize

    Solution found: I solved the issue of "Firefox remains minimized on taskbar and won't open or maximize" and tried to post a reply but it said the thread is closed.I press alt tab until the firefox minimized icon on the task bar is highlighted and the

  • Personal Profile compile

    Hi all, I recently downloaded the cdc personal profile. I've managed to compile the profile on Red Hat 9 ( compiled cleanly...only some minor warnings ). When I try to run the HelloWorld example packaged within the democlasses.zip file ( should displ