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


ADVERTISEMENT

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

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

Ubuntu :: Compile Apps From Source?

Dec 30, 2010

I'm wanting to setup a emulation PC running Ubuntu (or Lubuntu). I've installed 10.10 and am wanting to compile MAME from the most recent source.

I am compiling apps from source. What packages do I need to install to be able to compile?

View 7 Replies View Related

Slackware :: 64 Multilib - Can't Compile 32-bit Apps ?

Jun 4, 2010

I installed Slackware64 13.1 two days ago for the first time ever on my Dell Inspiron 1525 after using linux for about a year (Debian and Fedora, though I've installed a few others in VMs). I've really enjoyed Slackware so far, it's been comparatively trouble free. However, I decided to follow AlienBOB's instructions to make it multilib, and though I thought I'd done everything right - I can't seem to compile any 32-bit 13.1 slackbuilds; I've tried with sbopkg as well as the normal method, but it simply won't work. I must have done something wrong, but I've re-read the instructions on getting mutilib working several times and I can't work out what it is.

View 14 Replies View Related

Ubuntu :: Can'not Execute Java Apps?

May 3, 2011

i am using ubuntu 9.10 and i want to execute JAP ,the java -version on my system replies this:

Code:
khosro@khosro-laptop:~$ java -version
java version "1.5.0"

[code]....

View 6 Replies View Related

Ubuntu Installation :: Apps Won't Get Acces To JAVA RE

Apr 22, 2010

I just installed a game, TripleA, that is supposed to run great on Ubuntu using JAVA. I extracted the game to the recommended folder.I have JRE already installed via Install and Remove Applications utility. Is there something else I should do? Installing JRE manually seemed a bit troublesome.Is it "safe", i.e. will the other apps that use java still work properly?

View 1 Replies View Related

Ubuntu :: Xnee Not Syncronized With Java Apps?

Jul 21, 2010

As xnee official packages did not work for me, I downloaded, compiled and installed the latest xnee version (3.06). It work almost well, but if I try to automate the execution of a Java web application, xnee lost the synchronization and give me this error:

Code:
Can't synchronize anymore .... have to leave! 11 10
Error number: 5
[code]...

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

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

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

General :: Java Apps Slow Startup When Connected To Network?

Aug 11, 2011

I'm using Arch Linux with kernel 3.0 and brcmsmac to manage my wireless card. My desktop environment is KDE 4.7 and I use networkmanager to handle network. Recently I've been affected by a weird problem wherein whenever I'm connected to a network Java apps such as jEdit take ~30 seconds longer to start but behave normal once started. What could it be due to and how can I fix it?EDIT:The problem occurs both with Oracle's JRE and OpenJDK, both versions 1.7. I'm behind a HTTP proxy, if that makes a difference.EDIT:I've discovered the cause of this problem. My /etc/hosts file had the wrong host name in it. After correcting this to my hostnameeverything is fine.

View 1 Replies View Related

Ubuntu :: Using Firefox On Pages Using Macromedia Flash Or Java Apps?

Nov 27, 2010

My computer freezes and I am trying to diagnose the issue. When.. Using Devede to convert avi to dvd. (almost always) Using Firefox on pages using macromedia flash or java apps. With multiple windows open using terminal. I am strongly leaning towards this being a HARDWARE issue.

View 5 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

Ubuntu Multimedia :: Java Apps Online Have Random Garbled Sound / Fix It?

Nov 7, 2010

All Java apps online have random, garbled sound.
i do have the real Java, not icedtea.code...

View 2 Replies View Related

Ubuntu :: Ctrl+ (Any Alphabet Letter) Doesn't Work In Java Apps

May 3, 2011

I've Intellij Idea and Netbeans installed on my Ubuntu desktop. Both worked fine while I was on 10.10.After upgrading to 11.04 both of them became irresponsive to Ctrl+C/Ctrl+V/Ctrl+{Any alphabet letter} combinations. However these combinations work in non-Java apps (e.g. gedit).Besides that Ctrl+Alt+L (Lock screen) is not handled by the system, no matter what application is active.Disabling unity does not help. Starting in ubuntu classic w/o effects does not help either.

View 2 Replies View Related

General :: Make A Bootable System With Auto Runable Java Apps?

Nov 14, 2010

I am new in Linux ,i don't know how to make a boot able Linux with a auto run able Java apps...

View 1 Replies View Related

Ubuntu :: Degrade - Java Apps Freeze And Require Moving The Window Offscreen (below The Screen) To Redraw

Feb 11, 2011

Yes im refering to Windows Degrade and how over time windows just running will degrade and start causing errors. DLLs go missing and bizzare things. Ive seen wierd things happen on a windows machine that is dedicated to one function. Well to my point, recently I have been having many linux issues, not like normal or anything throughout the years I have experimented with linux though.

1)entering fullscreen on VMware crashes linux sometimes (no Ctrl+Alt or Ctrl+Alt+F2 ect)
2)using a different monitor haults the virtual machine while other monitors do not (I have 4)
3)Java apps freeze and require moving the window offscreen (below the screen) to redraw
4)general linux freezing
5)glitch with xinerama that repeatedly teleports mouse between two monitors causing the system to be unusable (no Ctrl+Alt+F2 or anything either)

At first I thought they were all related to VMware but they may not be. I run VMware everyday for my slingbox and light EXE-ing when wine isnt an option. So I may not be asking for fixes to all these problems but whats going on? Ive seen linux installs last years and believed linux to not degrade.

View 9 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

Ubuntu :: Hidden Mimized Apps \ Reach Apps That Minimized Them Self And Are Not Shown In The Top Menu?

Apr 30, 2011

Some minimized apps no longer appear in the top menu and by that are no longer accessible.For example firefox with the minimize addon or Jungel Disk backup service.How can I reach apps that minimized them self and are not shown in the top menu?

View 2 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

Fedora :: Upgrade Of Java-1.6.0-openjdk-1.6.0.0-43.1.8.2.fc13.i686 And Java-1.6.0-openjdk-plugin-1.6.0.0-43.1.8.2.fc13.i686 Prevent The Loading Of Ameritrades Command?

Oct 21, 2010

Last nights upgrade of java-1.6.0-openjdk-1.6.0.0-43.1.8.2.fc13.i686 and java-1.6.0-openjdk-plugin-1.6.0.0-43.1.8.2.fc13.i686 prevent the loading of Ameritrades Command Center.Downgrading to version 1.6.0.0-37 fixes the problem. I'll post the bugzilla number as soon as I get the chance to file it.

View 3 Replies View Related

Fedora Hardware :: Compile Moxa (5100) Driver In Fedora 12 , Kernel <= 2.6.30

May 13, 2010

i want to compile Moxa (5100) driver in Fedora 12 , kernel <= 2.6.30 but now when i run command i see this error :

Code:
ln: creating symbolic link `libssl.so': File exists
make -C /lib/modules/2.6.31.5-127.fc12.i686.PAE/build SUBDIRS=/home/AAA/moxa modules
make[1]: Entering directory `/usr/src/kernels/2.6.31.5-127.fc12.i686.PAE'
CC [M] /home/AAA/moxa/npreal2.o
/home/AAA/moxa/npreal2.c: In function �npreal_open�:
/home/AAA/moxa/npreal2.c:1000: error: implicit declaration of function �task_session_nr
make[2]: *** [/home/AAA/moxa/npreal2.o] Error 1

[Code]...

View 9 Replies View Related

Fedora :: Compile A Program To Make It Capable To Use >4GB Memory On 32-bit Fedora?

Apr 11, 2011

The whole code is written in C, C++, and Fortran. Is it possible to make it to use more than 4GB memory. Now it is always crashed when it reaches 3GB memory. If it is possible, how to set up the compiling options (or configure flags)? We can use gcc, g++, ...or intel compilers our OS: Fedora 12 x32

[code]....

View 2 Replies View Related

Fedora :: Run Apps From CMD Line?

Mar 31, 2010

How do I run applications from the Fedora 12 cmd line? Like if I wan to run Twitux (Twitter App) from the cmd line, how would I do it?

View 5 Replies View Related

Fedora :: Can't Print From Apps

Jan 31, 2011

I'm running Fedora 14 KDE. I've configured my HP LaserJet 2300 printer in System Settings, and can print the test page fine, but when I try to print from an application such as Firefox, the application seems to think it's printing, but it doesn't actually print. I see no dialog box telling me that a job was created. There are no new jobs in the printer applet. Where are my print jobs going? I'm not really even sure where to look. I don't see anything printer related in /var/log/messages.

Well, looks like I got it fixed. Not sure exactly why, but restarting CUPS seems to have resolved it. We'll see if it stays working,but for now, I can print...

View 2 Replies View Related

Fedora :: Getting Apps To The Desktop?

Jun 26, 2011

I am a complete Linux beginner, and have just installed F15 with Gnome for my desktop.

How do I get applications that may be installed but are not on the desktop, onto the desktop with an icon? I want to run iPython now, and soon I will want to run an Office suite...

View 6 Replies View Related







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