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

  • Home
  • SEARCH
  • 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 7994161
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T14:03:45+00:00 2026-06-04T14:03:45+00:00

I am trying to make a curl POST from java through java’s Runtime. When

  • 0

I am trying to make a curl POST from java through java’s Runtime. When I run a shell script with the command “curl -vF etc” in it, the code runs as expected, but if I try pulling the command into java as a properly escaped string it gives the following exception/error
“Protocol “http not supported or disabled in libcurlcurl””

String cmd = "./go.sh";
Process process = Runtime.getRuntime().exec(cmd);
//etc...

vs

String cmd = "curl -vF etc";//found in go.sh
Process process = Runtime.getRuntime().exec(cmd);
//etc...

output

"Curl Executed Correctly"
//proprietary 

vs

* Protocol "http not supported or disabled in libcurlcurl: (1) Protocol "http not supported or disabled in libcurl
  • 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-04T14:03:47+00:00Added an answer on June 4, 2026 at 2:03 pm

    A short bit of googling show’s this page. Which would indicate that you’re string isn’t right.

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

Sidebar

Related Questions

i'm trying to make post to an external url using curl, the externa page
I'm trying to use curl to post data to a script which is posted
I am Currently trying to make a shell script that will email me and
I am trying to install NPM on OSX Lion, I run this command: curl
I am trying to make a POST request to /api/kpi?data=some+stuff : curl -i http://127.0.0.1:9010/api/create_kpi
I am running a script on Amazon EC2 and trying to make a cURL
I am trying to make a cURL call to download a CSV file and
Trying to make this function dynamic instead of static. This was the original code
so i'm currently trying to implement a currency conversion script using Jquery, curl, ajax
I am trying to make an ajax call to a php script. The php

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.