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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T13:37:32+00:00 2026-06-07T13:37:32+00:00

Lets say I have a class called Scope that has a nested class called

  • 0

Lets say I have a class called Scope that has a nested class called Variable, how exactly do I use javap -s to get the JNI signatures of the classes inside? I’ve tried doing

javap -classpath <classpath> -s Scope$Variable

, but this does not seem to work. It seems to just get me the same information as if I only typed “Scope” rather than “Scope$Variable”.

Thanks for any help

  • 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-06-07T13:37:34+00:00Added an answer on June 7, 2026 at 1:37 pm

    If you are running javap in a Linux/Unix environment, then the $ will be interpreted by the shell and not by javap. Therefore it mus be escaped. Simplest solution would be:

    javap -classpath <classpath> -s 'Scope$Variable'
    

    Without the quotes the shell (I assume a *sh offspring) will try to substitute the $Variable part with the contents of the environment variable Variable. I assume that no such variable exists and there fore nothing (as in “empty string”) is substituted. Hence javap sees only

    javap -classpath <classpath> -s Scope
    

    If you are running the command from Windows, then this is not an issue, because the magical character would be %.

    BTW: I don’t know why JNI is involved here.

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

Sidebar

Related Questions

Lets say I have a LunchBox class with a property for FreezerPack that has
So lets say I have a class called Post that contains an IList I
NOTE: I use pseudocode in my question lets say i have a class called
Lets say I have a test class called ServiceTest with three test methods test1,
Let's say I have an class called Star which has an attribute color .
Lets say I have a class A that is fairly simple like this -
The background... Lets say I have a class called cars. We are just going
Lets say I have a class called PageBuilder which I instantiate, send parameters to
Lets say i have a page called https://url.com/test and https://url.com/test2 class Test extends Application
Lets say I have Class A, that calls static methods in either Class B

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.