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 4530936
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T13:51:16+00:00 2026-05-21T13:51:16+00:00

Hello I am running a javac command (lstf is a file) javac @$lstf For

  • 0

Hello I am running a javac command (lstf is a file)

javac @$lstf

For some reason, I get an error saying javac: file not found: path/to/dir/*.java. Whenever I type the args in manually in Terminal javac works.

Here is the code:

mkdir "$out"

cd src
scan

"$cc" $cflags -d "../$out" @${lstf}
rm -rf $lstf
cd ../

scan is the function that generates all the paths in the file $lstf – it works fine

  • 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-21T13:51:16+00:00Added an answer on May 21, 2026 at 1:51 pm

    You need to say javac @foo, and lstf = foo?

    Whenever you are in a situation where variable names are hard to decipher, you can use ${var} syntax instead of just $var:

    javac @${lstf}
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hello I am compiling a program with make but I get the error of
I'm finding the scala '-i' command line option quite useful for running some scala
Hello we have an SQL server application running over a low bandwith connection. We
Hello I have the following error by git-fsck, which cannot be cleaned by git-gc
The code shows compilation with the -cp trigger but not running. Apparently, it cannot
hello i got an iterator running on a multimap ,my multimap includes two fields
Getting started in PHP, but even with a Hello world I'm running into problems
I have a JSP page running in Tomcat that is not rendering properly. Here
When running javap on a very simple HelloWorld application I have some confusion on
this is my very first android program, it's a modified hello world. I'm running

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.