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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T21:20:56+00:00 2026-06-06T21:20:56+00:00

I tried to use Runtime.getRuntime().exec(cmd) to run out jad app to decompile .class file.

  • 0

I tried to use Runtime.getRuntime().exec(cmd) to run out jad app to decompile .class file. cmd = "../bin/jad Test.class" But I cannot get the output by this way:

Process p = Runtime.getRuntime().exec(jadCmd2);
BufferedReader in = new BufferedReader(new InputStreamReader(p.getInputStream()));
String line = null;
while ((line = in.readLine()) != null) {
        System.out.println(line);
}

nothing output, can anyone tell?

  • 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-06T21:20:59+00:00Added an answer on June 6, 2026 at 9:20 pm

    I suspect you are getting an error. I suggest you print that out as well.

    If you use ProcessBuilder you can combine the output and error so you only have one stream to read.

    From http://docs.oracle.com/javase/7/docs/api/java/lang/ProcessBuilder.html

     ProcessBuilder pb =
       new ProcessBuilder("myCommand", "myArg1", "myArg2");
     pb.redirectErrorStream(true);
     Process p = pb.start();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I tried to use AsyncProcessor in test scenario, expecting only one message to run
I use Java Runtime.getRuntime().exec(command) to create a subprocess and print its pid as follows:
I have the following application which get launched as below: Runtime.getRuntime().exec(java -cp /var/dist/Test.jar System.V
Im tried to use NAudio demo app for MP3 Streaming in Csharp, when i
I tried to use an image file in my HTML template. But when I
I've tried to use parse_on_demand as shown in: http://search.cpan.org/~flora/Catalyst-Runtime-5.80007/lib/Catalyst.pm#ON-DEMAND_PARSER However, I can't seem to
Hello! I tried to use a delegate in my app. My project uses ARC
I have tried to use the xsd.exe tool to generate a class for the
I tried to use Cleaver, that is PhoneGap / Cordova as a component of
I tried to use the following function in order to set the div's position

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.