I'm trying to compile JGR, rJava, etc. for use w/ my updated R. My configuration of Ubuntu (9.10 Karmic, kernel 2.6.31-22-generic) and R (version 2.11.1; from lib.stat.cmu.edu source) shouldn't be terribly unusual. But, all my efforts to compile Java programs for R fail, possibly because of something in my Ubuntu configuration of Java.First, I ran: R CMD javareconf. The output from that tells me that "JAVA_HOME is not a valid path, ignoring" and the cpp flags are set to nothing. The javareconf fills most of the variables with references to openjdk. JAVA_HOME, as far as I can tell, points to a properly installed copy of Sun Java. When I run update.packages(checkBuilt=T) with this, it unsurprisingly tells me that "One or more Java configuration variables are not set" and all of my Java based programs fail to compile.
I've tried switching the default Java to the Sun version using "sudo update-alternatives --config java". Now, javareconf fills in the cpp flag and variables point to the Sun version, though I still get the error msg that JAVA_HOME is not a valid path (though javareconf sets the home path to: /usr/lib/jvm/java-6-sun-1.6.0.20/jre). When I try to compile rJava, I get the error: rJava, "JNI types differ from the native type."Does anyone have any thoughts on how to fix this? Alternatively, is there somewhere I can report these problems so they might get fixed in future versions?I suspect I can't be the only person having these problems.
For the analysis of wireless mobile nodes simulations, I have downloaded Jtrana from [URL] This is a java based project but I do not know what steps I am supposed to follow to use it for my trace analysis. In fact I know how to compile a .java file, but jtrana is a complete GUI software.So I want to know to how to install it under fedora.
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.
I'm looking for a version of Getopts for Java that isn't licensed under the GPL and accepts long options (i.e. both -h and --help). My code is licensed under BSD and I don't really want to change that just because a module uses the GPL...
I have install Ubuntu 10.04 version. Then install Crossover 9 and run Internet Explore 7 on the crossover. Now I need to access web based system through IE7 which is java applet enabled system and also I have already installed java runtime environment on crossover. But that system can not access through IE7 it given some errors.
i just grabed a book and wrote a program and tried to compile it using 'javac' and everytime i'm getting this error:
javac Example.java /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/crt1.o: In function `_start': /usr/src/packages/BUILD/glibc-2.9/csu/../sysdeps/x86_64/elf/start.S:109: undefined reference to `main'
Wanted to switch to Kubuntu and decided a clean install was the way to go. Though the learning curve isn't too tough, I've hit a serious snag: When I try to compile a source package according to the similar instructions in each of the README files, I get the same error message;
Instructions:
mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .. make su -c 'make install'
[Code].....
I'm liking this KDE 4.4 setup, but if I can't install the improvements from kde-look.org
I'm using a webhosting server running CentOS, and I'm trying to install GCC to compile Java on the server. Since I'm new to Linux and don't have root privileges, I'm having trouble installing this. I need to install this using command-line. I don't know if I should compile from source (which I downloaded off the "gcc.gnu.org" website) or if I need to install a binary or something. Can I even install anything without root privileges?
Is there any Linux software that allows accessing a pre-configured serial console via Browser using a java applet? I would like to access the serial management consoles of various hardware devices via browser.
I have the following error in 10.04. I've tried several times to uninstall, resolve, install these dependencies and am at my wits end now. This morning I gave up on OpenJDK and installed Sun JDK, hence the sun versions below. But this error is stopping me from installing anything else.
Reading package lists... Done Building dependency tree Reading state information... Done You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies: default-jre-headless: Depends: openjdk-6-jre-headless (>= 6b14) but it is not going to be installed icedtea-6-jre-cacao: Depends: openjdk-6-jre-headless (= 6b18-1.8.2-4ubuntu2) but it is not going to be installed latexdraw: Depends: libjiu-java but it is not going to be installed Depends: libjlibeps-java but it is not going to be installed openjdk-6-jre: Depends: openjdk-6-jre-headless (>= 6b18-1.8.2-4ubuntu2) but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
me@andromeda:~/private$ java -version java version "1.6.0_22" Java(TM) SE Runtime Environment (build 1.6.0_22-b04) Java HotSpot(TM) Server VM (build 17.1-b03, mixed mode) me@andromeda:~/private$ javac -version javac 1.6.0_22
I just did an update on my Debian system and it was very long. I'd like to know now, after the upgrades have already been applied, which packages were upgraded and which were not.
I just blindly install 'java' in GNU/Linux Debian SID -- so I could use it as a plugin for iceweasel -- Unfortunately, things didn't work as expected. I was used to Debian's APT to take care of things for me as it had done for more years than I could remember. (Being a desktop user/programmer and a beginner system network admin). I want a clean install of java plugin for iceweasel. So I want to remove completely all java related packages --
How do I know which is which and if they are safe to remove without affecting any other part of the system? Now, to install -- what do I need to install in order for iceweasel to have the Java plugin and let java work as it should? I prefer from the Debian package. But if it doesn't work, I'll accept JRE from the java site and install them myself.
I am running Debian Squeeze. How can I download packages in Java? For example I need the javax.mail package.
In windows, I simply download the JAR and point my classpath to that JAR.... How does this work in linux/debian? Is there apt-get command that I can use to get java packages?
I was given the responsibility at work to upload some files to an offsite 3rd party FTP server. Apparently we use a "secure" proprietary web-based java FTP client.
The FTP client was buggy and repeatedly crashed. While I was waiting for it to work, I decided to look at the HTML of the website when I was logged in to their FTP server. It contained the following lines:
I substituted dashes for the sensitive information that was in the website. I do not have access to analyze the network traffic to see if our username and password is being transmitted in plain text to the website. It makes me nervous to see the username and password plainly written out in the html for a website; however analyzing the network traffic and securing networks is not part of my job description. So my question for people here who have this as part of their job description is as follows:
I understand it is not generally a good idea to mix 13 and 13-current packages but I am installing OpenProj which requires JDK and the installed JRE (6-18) is up-level from 13's JRE (6-16) and back-level from the 13-current JDK (6-19). Presumably JRE and JDK should be at the same level. Would it be better to take both JRE and JDK to 13-current (6-19) or to take both to 13 (6-16)?
I'm having trouble with my java, I got it to isntall, restarted but when I go to any java based chat, or drawing site it doesn't load the applet, the applet shows up it just says "Start: Applet not initialized" Did I install it wrong?
this is my output when I try to compile samba 4.0.0 alpha 7 in Ubuntu using the spec file provided in the samba packages:
bin/mergedobj/samba-util.o: In function `file_lines_parse': (.text+0x595c): undefined reference to `_talloc_steal' bin/mergedobj/samba-util.o: In function `data_blob_talloc_named':[code]....
I am working on a set up, and I like to be able to toggle compiz on and off, or toggle dualscreen on and off. The thing is, I also have conky on my desktop as well as a terminal window embedded in my desktop (that requires compiz). So, when I turn comiz off, or resize my desktop, I want to be able to reposition conky/embedded-terminal and the terminals position is relative to my conky position and the size of my virtual desktop.
I can do this all fine, except that to reposition the terminal I need to kill it then reopen it. But if I kill gnome-terminal it kills ALL gnome-terminals instead of just my embedded one. How can I specifically close my embedded one and leave any others untouched? Lets say that the title of my embedded terminal is "trans777"Also, the trans777 titled gnome-terminal will be killed when compiz is not running.
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 notice that on DistroWatch, the descriptions include "debian based", "arch based", etc. For the newbie, is there any practical difference between the different bases, or is it a Coke vs Pepsi type question?
Is a distro based on Debian say, easier for a newbie to learn or work with than say one that is FreeBSD based?
I've got some source code that loads and plays WAV files through the OSS drivers (and USB audio). The code works even under 2.6.34. Is there any benefit to rewriting the code using the ALSA system?