• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem with Views in Eclipse RCP

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My system information:
Ubuntu 11.10
64-bit Architecture
Eclipse (Indigo Service Release 1)
Using jNetPcap wrapper to read network pcap-formatted offline files.


Step by step to face a problem:
  • Open the Eclipse, make new Plug-in Project with "Rich Client Platform" check box enabled. (Default template: RCP application with a view)
  • Right-click on the project and click properties; then go to the Java Build Path to add the jNetPcap Jar file. Add the Jar file.
  • Take a look at the example of reading offline files using jNetPcap which is posted on its website.
  • Open the default view to add some codes. (file: View.java) By default, it has a TableViewer with 3 inputs.
  • I add my codes to this method of this class:




  • Continue: Then, I run the project as Eclipse Application and I see this Error stack in console tab of my Eclipse:


    Help: Please help me, let me know if I missed any part in my project.
    I should mention that I can read Offline pcap files in normal Java Project.
    Source file: MyRCProject.zip - MyRCProject.tar
     
    Emad Heydari Beni
    Greenhorn
    Posts: 3
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    [Problem is solved]

    I have done two steps to fix the exceptions:


  • According to FAQ, I've done some further steps
  • Then, I found out that I forgot to copy libjnetpcap.so to the /usr/lib




  • Use this command in Ubuntu terminal:
     
    Don't get me started about those stupid light bulbs.
    reply
      Bookmark Topic Watch Topic
    • New Topic