Results 1 to 3 of 3
  1. #1

    Eclipse export runnable jar

    I appear to be able to export a 'runnable jar' from my eclipse development environment but it does not export the pointer to the runnable main class com.lightstreamer.LS

    I know I have got this working once before but I appear to have lost the knack!

    Developed as ber the instructions here. It all runs tidily if launched from Eclipse and the run configuration specifies the .LS main class. but when exporting a runnable Eclipse appears to ignore the class specified in the config.

  2. #2
    As far as I know, you should right-click on your Eclipse project, select Export>Runnable Jar file and then select your run configuration in the wizard mask. If everything is fine, in the Jar file the property Main-Class of the file MANIFEST.MF should be equal to the fully qualified name of your main class.

  3. #3
    Quote Originally Posted by Alessandro Carioni View Post
    As far as I know, you should right-click on your Eclipse project, select Export>Runnable Jar file and then select your run configuration in the wizard mask. If everything is fine, in the Jar file the property Main-Class of the file MANIFEST.MF should be equal to the fully qualified name of your main class.
    Yup. Not happening. Never mind I will deploy standalone so I can get home some time before Brexit!

    Then I can sort it out in the office at my leisure!

 

 

Similar Threads

  1. Developing & Running an Adapter Set Using Eclipse [Java]
    By gianluca.finocchiaro in forum Adapter APIs
    Replies: 26
    Last Post: July 8th, 2019, 01:10 PM
  2. Create runnable jar for remote java adapter
    By rvkvino in forum General
    Replies: 6
    Last Post: February 24th, 2017, 09:44 AM
  3. How to config eclipse to debug lightstreamer.
    By gengliangyu2008 in forum General
    Replies: 2
    Last Post: November 10th, 2010, 11:40 AM
  4. create .jar with .class
    By khalil78 in forum Adapter APIs
    Replies: 2
    Last Post: April 4th, 2008, 08:38 PM
  5. shared library jar files
    By gadder in forum General
    Replies: 1
    Last Post: October 26th, 2007, 11:50 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 10:49 AM.