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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T21:18:15+00:00 2026-05-25T21:18:15+00:00

I am about to go insane. for hours, trying the same and does not

  • 0

I am about to go insane.

for hours, trying the same and does not work I have the following code:

<?php
exec('java -jar /home/user/classname.jar --some arguments',$output,$result);

works if I run from the command line, but if you get on my server and I try to run just does not work, I have tried with other command and work perfectly as "java -version", ls, mkdir, chmod, cp, date, etc

  • 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-25T21:18:15+00:00Added an answer on May 25, 2026 at 9:18 pm

    the problem is the architecture of the OS, the. jar was compiled in Windows 7 64Bits with 1.6_26 32-bit and the server has Linux x86_64. i compile again .jar files and work fine.

    “write once, run anywhere.” …of course

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

Sidebar

Related Questions

About project: I'm trying to write CMS-like web-site on Java. Previously I used PHP
I have been trying to execute this program on my MinGW, through Code::Blocks: #include
Well, after 3 hours of researching, I'm about to go insane, so I figure
This has been driving me insane for about the last hour. I'm trying to
I'm just about getting insane with compiling ffmpeg under windows... It just won't work.
I'm fairly sure that I am not insane, but I do have memories of
When pushing to our shared bare repository (over ssh), the post-commit does not work
This is about to drive me completely insane! I've done this before and I
I have tried by myself to install Rediska (Redis PHP client) into my codeigniter
I'm just learning about ORM's, and am wondering... if you have an object (a

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.