Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6753457
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:09:48+00:00 2026-05-26T13:09:48+00:00

I have one lib/ folder inside my Eclipse Plugin Project and on this folder

  • 0

I have one lib/ folder inside my Eclipse Plugin Project and on this folder I have a little script… But when I run the ‘Eclipse Plugin Project’ I cannot execute that script because I cannot access to that folder…

How can I fix this?

—
Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T13:09:48+00:00Added an answer on May 26, 2026 at 1:09 pm

    If you can execute the script by passing an InputStream or a String to the interpreter, put in the src/ folder, so it ends up on the classpath and use getClass().getClassLoader().getResourceAsStream("script-name") to get an InputStream

    If the interpreter is external (like bash or something that doesn’t implement the Java Scripting API), do the same. When you need to execute the script, create a stream and copy the script to a temporary file.

    Keeping the script in lib/ is also a bad idea since the plugin will be assembled into a single JAR file unless you turn that off, so you will end up with a script file inside of a JAR – again something which most interpreters can’t use.

    By using the classpath, you can let Eclipse figure out where the data is.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created one shell script in my lib folder. And i want to
I've dealt with errors like this in Eclipse before, but I have no idea
I am trying to run all unit tests using eunit inside a folder but
I have installed one version of mysql. After this I copy the MySQL folder
I have a collection of static libraries (.lib) files one of which may have
I have made a jsf 1.1 portlet in weblogic 10.3, but in one scenario
For one Model called Email.rb, I have a method shown below called new_todos. This
I have one folder named library where I have put all my JAR files.
This is more of a general question as I have found relatively little information
This question is similar to this one , but not a duplicate because I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.