I would like to call my java program from php. How is it possible I know of zend bridge but when I read it say it will take our the existing php which I am not sure what other side effect I will have to face.
In practice I have a script that call a java program that call a linux system command. The script if I run it, from a shell functions well,so it is not a java problem. The problem come out when i put this script in a crontab schedulation. The result in this case is that java do not execute the system command. I think it depends on crontab
i am using front end as java and back end RHEL5.i am trying to calling a bash script with java. but i am facing problem.i am using following java coding to use call the bash script
import java.util.*; import java.io.*; public class b
I tried to launch java files (.jar) by choosing a program Openjdk Java 6 runtime. Then it gives me an error that the file is not marked as executable. I know how to solve problem with wine by making a launcher with a command and path
I have installed Netbeans IDE on my Netbook and on my PC (openSUSE 11.4 32 bit and openSUSE 11.4 64 bit). On both has the UI a ugly font. I don't really know how to change it. I already searched the web but I couldn't find anything related. Have a look how it looks like:
Uploaded with ImageShack.us. And then the "original": [URL]. OK, this picture is already 3 years old but I don't think that Oracle would change Netbeans UI font to look creepy. How I can change it to normal?
I'm setting up a RHEL 4 VM and have installed Oracle Java 1.6 from a bin file to /opt. I've added it into the PATH but when I try to run a installer that needs Java to run it says that it can't find a Java installation in my PATH but when I execute a which java I get the following:
I attempt to browse to 10.67.0.189. This is a Brocade 4100 SAN switch management interface and is apparently a web application. This works in Windows IE. It dose not run in Linux Redhat v5 . #uname -a Linux2.6.18-194.el5 #1 SMP i686 i686 i386 GNU/Linux The java install is the latest as is jrel and test good. firefox is vs 3.0.19
javaws location is #ls -l /usr/local/jre1.6.0_19/javaws/javaws -> ../bin/javaws.
The error is "switchExplorer_installed.html which is a: JNLP file from: http://10.67.0.189 What should firefox do with this file? options are open or save. I tried both. When I select open I get a line onthe browse window "6.2.0 Web tools 10.67.0.189.
I always wanted to get into writing open source applications for debian. The only problem I ever saw was that I do not know C++ which seems to be the popular language to build applications. My expertise is Java and I think that java applications could run on debian just as good as C++ applications. What I do at work is write applications in java for unix systems so I think I porting my skills over to debian would not be a problem. I have not seen any applications in java on debian yet and thought people might have a problem with them. Is there any reason more java applications are not being written on debian? Also does anyone know of hand if there is any orphaned java application for debian. I had a look on this page but it is hard to know what language the application is written in. [URL]
I just did a reinstall because I migrated to a new box, and I can't figure out what it was I did to fix the ugly ugly fonts Java apps display. I've switched to jre from openjdk, which was a minor improvement, however I recall seeing much better fonts in my java apps about an hour ago before I switched systems.
For some reason Java Applications running through Firefox have no audio, Java applications running through the java -jre command do run with working audio though. I don't know what else I need to post, but this is what I've been getting. Audio does seem to work with most of my other applications and games.
i have the machines with both fedora12 and fedora13 installed. i am unable to view some java applet applications in 64 bit firefox.so i am looking for of installing 32-bit firefox in my machines(after tested and confirmed with one of my rhel-64 bit machines).but i am clueless how to achieve it in fedora12 and 13. i tried yum inastall firefox.i386 then firefox.i586,and then firefox.i686..but dint find any expected results.
I've just installed java (jre-6u21-linux-i586.bin) on Red Hat 4.4 AS and issued this command to check the java version: java -versionand got :bash :java: command not found
I try to install the java plugin but the java test pages show not installed. I have tried the openjdk-6-jdk package and the Oracle/Sun 1.6.0_26 version to no avail.
Is there some good instructions page someplace? I have yet to find a set of instructions that provides something clear that works.
Code: ~ $ /usr/java/jre1.6.0_25/bin/java -showversion Error occurred during initialization of VMjava/lang/NoClassDefFoundError: java/lang/Object
That's the error I get. When trying to run a java app with the firefox plugin, the browser simply crashes if it's the 64bit java or tells me it's not installed if it's the 32bit version.
I'm at a loss as to what to do. I think it has something to do with leftover gunk from a previous version I misinstalled(Is that even a word?) Anyway, the only thing that google could come up with was a solution for windows which laid blame on Bill Gates for having a bunch of pf (java prefetch) files stuffed into c:windows for no apparent reason. The solution was to delete them, but I can't seem to find the java prefetch folder in linux. The method I used is downloading the rpm from java.com the rpm2tgz then installpkg then cp libnpjp2.so to firefox plugins folder.
This is my first post and I'm pretty new on Debian. I had used Ubunu for a while now and I've decided to move on Debian Squeeze.But I've one problem: I've a Java programm to install and the installer is GUI Java based. When I run the script, I've the next message:
Preparing to install. Extracting the JRE from the installer archive.Unpacking the JRE.Extracting the installation resources from the installer archive.Configuring the installer for this system's environment.Launching installer Graphical installers are not supported by the VM. The console mode will be used instead. Preparing CONSOLE Mode Installation. But this program is not able to run the installation in console mode.
I've tried to install sun-java6-jre but without success.Has anyone an idea to help me install this programm? My Configuration: Debian Squeeze 6.0 amd64.
Java is installed in linux machine and when I enter the command java -version it shows java is not found.At the same time when i run from the folder where its installed with ./java -version it works.
first of all why its not working from any other place? also why do I need to give ./ from the folder?
If you are interested, Java SE 6 Update 24 is available. The Check Java Version link in my signature will tell you if you are up to date or not. The Update Java Version link in my signature will tell you how to obtain and install the latest version. The 32 bit version install directions are on the left side of that page and the 64 bit instructions are on the right side.
Just remember to remove the current version before installing the new one as it says in the instructions. The remove instructions are below the install instructions. Also, in Step 9 - "Now you'll want to tell the system, that there's a new Java version available." See the note below it that says if you get an error upon entering the command once, enter it a second time. I have to do that and sometimes forget. Just thought I would mention that. These instructions are already setup for version 6 update 24, but they can be modified for any update and they will work. I have been using these instructions for a couple of years and they work.
After upgrading java (jre) to 1.6.0_19, the java plugin no longer loads into Firefox. All the rest of my plugins from /usr/lib/mozilla/plugins/ load fine.Java can be a pain such a pain the neck!
I haven't used Ubuntu for a while, and just reinstalled it. I have one major dislike about the new version, There are several applications I click on and it takes me to the installer.How do I remove those types of applications or just install them all?
I feel shy asking this question but, 90% of the applications I install in Ubuntu (last release), do not show up later on in the applications menu, so I cant run them. I know it seems silly, but I can't find the way to handle this inconvenience. Is there a place (like Start> All programs in Windows), were I could find and run all the programs I install?
I was wondering if there was any way to remove icons from the installed applications menu?I recently attempted to install GOG.com's Zork Anthology using Wine and when I de-installed, the icons for those files were still listed in installed applications. Is there anyway to delete them manually?
I'm setting up a large number of virtual machines, each with a basic set of about 30 applications. Obviously, I don't want to do everything manually so I'm looking for ways to automate this process. Multiple distributions (Ubuntu, Red Hat Ent., FreeBSD, CentOS, etc.) will be used, meaning I will have a few Ubuntu installs with the basic set of 30 applications, and multiple Red Hat installs with the same set, etc. So, I'm looking for advice on automating as much of this as I can, even if it means a new form of automation for each distro.
Is there a programmatic way to get the list of all installed applications on Linux.
Also, how can we get the application activities in Linux OS like running applications name, time of day when they started, duration till the applications were running on system, application version etc.
Is there a way to do this in C/C++.
I am building an app that runs like a daemon and fetches the applications status and sends it to the network admin for him to monitor the application usage pattern on the user computers in the network.
I use openSUSE 11.4 64 bits, KDE and FireFox 5.0. I regularly update. When trying to reach my bank, I get the following error: Code: icedteanp plugin error: Failed to run /usr/lib64/jvm/java-1.6.0-openjdk/jre/bin/java. For more detail rerun "firefox -g" in a terminal window. Is there anything I can do to remediate ? Does IcedTea everything that Java does?