Software :: Compile Java Based Projects Under Fedora 9?

Mar 21, 2010

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.

View 14 Replies


ADVERTISEMENT

Ubuntu :: Cannot Compile Java-based Packages In R

Jun 8, 2010

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.

View 3 Replies View Related

Fedora :: How To Write Java Or C++ Programs As Projects In Eclipse?

Nov 18, 2010

I printed Bruce Eckel's book "Thinking in Java" and Bjarne Stroustrup's book "Programming Principles and Practice Using C++". They are just great.I installed Fedora 14 with java development features including Eclipse IDE.Now I want to be able to recreate the examples from the books and experiment over them in Eclipse.I have been working for a while with python and django merely in the terminal and gedit without Eclipse.Please, help me to get started. How can I write my Java or C++ programs as projects in Eclipse?

View 2 Replies View Related

Programming :: Compile (gcc) Using Code From Other Projects?

Jan 16, 2010

I'm trying to write a helper for the mount utility (mount.truecrypt) and there are some things in the util-linux-ng package that would be helpful. For example, in fstab.c, there is a lock_mtab() function. I want to be able to do something like:

Code:

#include "fstab.h"
int main(int argc, char *argv[])
{
lock_mtab();

[code]....

But I don't know how to compile it. I was trying (naively) something like:

Code:

$ gcc mount.truecrypt.c fstab.c -o mount.truecrypt

But I guess the problem is fstab needs a whole bunch of other stuff. Should I just build the entire util-linux-ng package and then use the output somehow? If anyone is interested in mount.truecrypt (to be compatible with mount and /etc/fstab) you might be interested in giving me a little bit of guidance. I've got enough code to build the actual truecrypt command thus far. In fact, it's useable, but not robust (ie, doesn't lock the mtab, etc). You can browse the source for util-linux-ng here: [URL] and download a tagged release here:[URL]

View 5 Replies View Related

Debian Installation :: Java Programm To Install And The Installer Is GUI Java Based?

Feb 18, 2011

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.

View 13 Replies View Related

Fedora :: Using GCC To Compile Java Apps?

Sep 21, 2010

I want to use GCC to compile my java programs... I dont want to use OpenJDK. using OpenJDK to compile java... I WANT GCC

When I run this command:

Code:
[AliasM2K@localhost Documents]$ gcc HelloWorld.java

I get:

Code:
no classpath specified

So... How to specify a classpath?

View 1 Replies View Related

Fedora :: GCC To Compile Java Files?

Feb 11, 2011

I want to compile java files using GCC directly . I do not want to use GCJ , forget about javac .

When I am using as
#gcc -x java helloworld.java

Its giving " no classpath specified "

Give me some solution so that I can use GCC as specified above .

View 8 Replies View Related

Fedora :: How To Compile Java Programs Using OpenJDK

Dec 16, 2009

Tell me how to compile and run java programs using openJDK on fedora 11

i have gcc installed

View 6 Replies View Related

Fedora :: Compile And Execute Java Programs?

Sep 11, 2010

How to compile and execute Java programs

View 1 Replies View Related

Red Hat / Fedora :: Install GCC To Compile Java On The Server Using Command Line

Feb 21, 2011

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?

View 9 Replies View Related

Programming :: Non-GNU Based Getopts For Java?

Jul 29, 2010

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...

View 1 Replies View Related

Programming :: Compile Function C To Java?

Apr 6, 2010

i want compile function c to java under linux. the bashfile comp :

$ cc -fpic -c $(SRCS)
$ ld -shared $(OBJS) -o module.so

i see in www.swig.org

$ comp -java example.i # line 1
$ gcc -c example.c example_wrap.c -I/usr/java/jdk1.6.0_17/include -I/usr/java/jdk1.6.0_17/include/linux # line 2
$ gcc -shared example.o example_wrap.o -mno-cygwin -Wl,--add-stdcall-alias -o example.so #line 3

error line 3 :

/usr/bin/ld: unrecognized option '--add-stdcall-alias'
/usr/bin/ld: use the --help option for usage information collect2: ld returned 1 exit status

View 1 Replies View Related

Fedora :: Java Based Chat Or Drawing Site Doesn't Load The Applet - "Start: Applet Not Initialized"

Mar 10, 2011

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?

View 4 Replies View Related

General :: Compile Java Code On Ubuntu?

Apr 26, 2011

how to compile java code on ubuntu linux? also is it possible to incorporate C code in Java GUI?

View 1 Replies View Related

Ubuntu :: Run Java Applet Web Based System On IE 7 Which Is Run On Crossover 9 Version

Sep 16, 2010

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.

View 1 Replies View Related

General :: Cannot Compile Java Program In SUSE 11.1 Using Javac

Jun 17, 2010

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'

[Code]....

View 3 Replies View Related

Fedora :: Anjuta Cannot Create GNOME 2 Projects

Apr 10, 2010

I've been wanting to write a small program for personal purposes in GNOME using Anjuta. I've noticed something strange when I start a new project. I have various options, a GTK project, SDL, XLIB, and GNOME Applet, but no GNOME project? I have the GNOME development libraries installed as far as I know, but the option to create a GNOME 2 project just doesn't appear.

View 2 Replies View Related

Software :: Access The Serial Management Consoles Of Various Hardware Devices Via Browser - Java Based

May 22, 2010

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.

View 1 Replies View Related

Ubuntu Security :: Use A "secure" Proprietary Web-based Java FTP Client?

Oct 15, 2010

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:

Code:
hostname="-------------"
username="--------"
password="--------"
connectionType="ftps"
mode="binary"
enableHost="false"
enableConnectionType="false"
enableAnonymous="false"

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:

View 7 Replies View Related

Software :: Compile .jar Java Byte-codes Into Native Machine Codes?

Aug 28, 2010

I think I put this in the wrong place

View 1 Replies View Related

General :: Command To Check The Java Version: Java -versionand Got :bash :java: Command Not Found?

Jul 26, 2010

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

View 4 Replies View Related

SUSE :: Which Is Best Method To Back Up Projects

Feb 4, 2010

I am working on linux administration. I need to backup my project folders regularly. Which is the best method i can choose to backup. I know that I can schedule it through cron. Is there any other best way.? If not where can I get good document about cron. I am using suse linux enterprise server 10 sp3.

View 6 Replies View Related

General :: Need Any Open Source AI Projects

Dec 27, 2010

Are their any open source AI projects out there? i just read an old text on neural networking in C++ and would love to paw through someones code.

View 1 Replies View Related

Networking :: Networkers - Getting The Wifi Projects?

Aug 14, 2010

i study in the network department in SUST (sudan university for sience and technology) and we are going to be asked for doing the graduation project next term..i need some about WIFI projects or any related thing that is simple and applicable.

View 4 Replies View Related

General :: Any Projects On Shell Scripting?

Dec 6, 2010

Just give me any project on shell scripting .. to start working on it and practice my self ..

View 2 Replies View Related

General :: Run Two Different Projects At The Same Time From Codeblocks?

Mar 25, 2010

is it possible to run two different projects at the same time from codeblocks?

View 9 Replies View Related

Programming :: How To Build VS2005 Projects

Feb 3, 2011

I need to create a SW project both for Windows (written with MS Visual Studio 2005) and Linux. Currently I have a build script for windows and another for Linux. I would like to build the project for both platforms on a single PC. Is there a way of building VS2005 projects with Linux (not using Cmake)?

View 2 Replies View Related

Programming :: Looking For Educational Bash Projects?

Sep 14, 2010

Have you ever seen a hobbyist electonic Kit? They have projects that try to teach what each type of component does. Is there such a thing for Bash? It would tend to be aimed at tasks that are suitable for bash and not attempt to go over the line of what is better suited as a compiled program. Intuitively I think maybe something that timestamps files; when you download them, or anything else that would keep a home PC better organized is practical.

View 5 Replies View Related

General :: Debian Based - Arch Based - What Is The Practical Difference?

Jun 7, 2010

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?

View 9 Replies View Related

Software :: Benefit To Rewrite OSS-based Code To ALSA-based?

Aug 12, 2010

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?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved