Programming :: Java And GTK (native Code) Not Compatible With Gcj And Gnome-GCJ

Jul 2, 2010

I'm trying to build a GUI for my java app and compile with gcj (to native code). I started googling and found 3 possibilities: Java-Gnome, Gnome-GCJ and libswt. Unfortunately, Java-Gnome is not compatible with gcj and Gnome-GCJ is, but is no longer maintained. The third option, libswt, I could not find any clear information what is it and how it works. Can you enlighten me a bit more about the subject?

View 8 Replies


Ubuntu :: Java Audio Crash In Native Code

Oct 25, 2010

java: /build/buildd/openjdk-6-6b20-1.9/build/../pulseaudio/src/native/org_classpath_icedtea_pulseaudio_Stream.c:680: Java_org_classpath_icedtea_pulseaudio_Stream_nativ e_1pa_1stream_1cork: Assertion `stream' failed.

I keep getting this error about 1-10% of the time when a Java application tries to play audio. When this happens, the whole JVM quits, which means the crash is in native code. I find it difficult to test my Java games, for obvious reasons, since I am a Java developer primarily. I use Eclipse 3.6 SR1 to develop my Java apps, and I'm a recent convert to Ubuntu from Mac OS X. EDIT: Whoops, forgot to mention that I'm running Ubuntu 10.10 "Maverick Meerkat" x86_64 version.

View 9 Replies View Related

Programming :: Selenium Java Code Into Equivalent Php Code?

Mar 30, 2011

I need to rewrite the selenium java code into its equivalent php code.

View 5 Replies View Related

Programming :: Create A .bin File From Java Source Code?

Jan 4, 2010

i am trying to generate a linux executable data (bin data) from my java source code.

View 4 Replies View Related

CentOS 5 :: 5.2 (native) - Gnome Dektop Munged Slightly Due To Attempted Gnome Upgrade

Mar 11, 2009

Against all advice in Centos docs, I built and installed several gnome packages in order to upgrade to the latest Gnumeric. Among them were: fontconfig, pango, gtk+, cairo, glib. goffice, pixman, tiff, and atk. Afterwards, I got missing fonts with some apps, but the biggest problem is interference with my Vmware Workstation GUIs. Yesterday I removed all the libraries I installed hoping to recover. Now things are better, but when I open a terminal on the desktop it opens jammed in the upper-left corner with the top grab bar out of reach of the mouse. Before I remove the ~/.gnome* directories, how to restore things?

View 1 Replies View Related

Programming :: Java Code To Implement "wget" To Save A Webpage

Feb 24, 2010

This is the code i used, there is no error in execution but no file is bein saved in the working directory. I'm new in java,so just started learning.

public class Hel
public static void main(String args[])
throws IOException


View 5 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 :: Draw UML From Java Code?

Apr 27, 2011

Does anyone know an application that can draw UML graphs automatically from Java code for linux platform. I've tried startuml, but in doesn't work very well.

View 1 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 :: Tool To Convert My Whole Java Code To C / C++?

Aug 6, 2010

As a part of my project I have to write the code from scratch in c/c++ but I already have a full blown Java code available with me. Is there any tool that can do the same.

View 10 Replies View Related

Ubuntu :: JMF Without BASH - How To Code A Media Streamer In Java

Aug 31, 2010

I need to code a media streamer in java but I found out that I would need the java media framework to simplify the task. I downloaded the bin and need to export it into the files where my jdk packages are at by default. I'd rather not set my path variables because I'm not so good at interfacing with BASH. I just want to start nautilus in sudo and drag and drop like I did with my python packages. I am just having trouble locating the jdk lib.I'm not using openjdk but sun-jdk 1.6.18. My OS is Lucid. The package is JMF2.1.1e. I'm pretty sure I just need the just the lib files from it and none of the executable.

View 1 Replies View Related

Multimedia :: Ubuntu Gnome Theme Not Compatible With Debian / What To Do?

Oct 27, 2010

Im trying to use a Gnome theme designed for Ubuntu on Debian. Ive installed it into /usr/share/themes and the window border and close, minimise maximise buttons show up right but the other controls (buttons, scrollbars, progress bars etc) dont and default to the generic ones.

I know nothing about how themes work really but I assumed as long as both distros were using Metacity it would work?

View 6 Replies View Related

Programming :: How To Program (all Language Compatible)

Jun 27, 2011

so with every language I have used, I have found that my style of programming is sub par (terrible at times). I have worked with a good amount of languages lately including bash, C, Java, JavaScript/jQuery, Perl, PHP, Shakespeare, Zombie, etc. I have done a good amount of programming, and in the end they seem to work, but just looking like a piece hacked together. Does anyone know of any books or online guides that help with programming styles and advancement of such?

View 14 Replies View Related

Programming :: Downwards Compatible Is JRE / Software Written In The Current JDK (1.6) Still Work?

May 13, 2010

I noticed there's a new JRE in town, the upgrade 20, I still use the 13. What will the up to 20 do for the software I write? I use openJDK (came with the Fedora I use) to write software, and the JRE to use it in the browser, I needed to see the Java console, hence the need for the Sun JRE...

So: bottomline: if I upgrade to the new JRE - use the alternatives configurator to use that in the browser, will the software written in the current JDK (1.6) still work? Or: is Java downward compatible?

PS : I dont use anything fancy, just RMI, mySQL connectivity and a bit of Swing...

View 1 Replies View Related

Programming :: Groovy Scripting - An Object-oriented Programming Language For The Java Platform ?

Mar 7, 2010

Groovy is an object-oriented programming language for the Java platform. I do not have experience in Java, only perl and shell scripts. Recently I have been asked to maintain a software written in groovy (also to make enhancements). So can I learn groovy without knowing java language. or isit I have to learn java before venturing into groovy.

View 1 Replies View Related

OpenSUSE :: Compiling Java Code Error "undefined Reference To Main"

Aug 9, 2011

After messing up with grub, I reformatted my hdd and installed opensuse 11.4 (gnome+kde) from the dvd and also included the java sdk while installing, now the problem is that whenever i compile a java program, I get this error Code: /usr/src/packages/BUILD/glibc-2.11.3/csu/../sysdeps/x86_64/elf/start.S:109: undefined reference to `main'

View 3 Replies View Related

Ubuntu :: Can't Find The Tarball For The GNOME Source Code?

Jun 15, 2011

I want to build my own GNOME. The problem I have is that I cannot find the tarball for the GNOME source code. Another thing I've read on their website is that the way to build it is not the conventional './configure, make, make install', and that it has to be done using a multi-phase process. Is this correct?

View 2 Replies View Related

CentOS 5 :: Java GNOME Mime Installation Error

Jan 8, 2011

I am experiencing issues when installing a software package, receiving the following error codes within .../install/logs/log.txt

"percent complete: 98%"
"...../JDK/jre.pak/repository/ (No such file or directory)
"The file java/jre/lib/desktop/icons/HighContrastInverse/16x16/mimetypes/gnome-mime-application-x-java-archive.png could not be replaced"

From looking in the specified directory I can see that this file does not exist, however I am unable to simply create or copy a file with the required name to resolve this issue. Is this a known error, or is my install package simply missing the needed files; even though I managed to successfully install this package a few days earlier onto the same system.

View 1 Replies View Related

Ubuntu :: Possible To Use CSS Code To Make Gnome Panel Clock Text Blink?

Sep 7, 2010

I was wondering if it is at all possible to use CSS code to make the Gnome panel clock text blink. I Googled a bunch of CSS code which is supposedly used to create a blinking text effect but none work in the Gnome panel clock. Is there any sort of CSS code which can do that? If so, what is it?

View 3 Replies View Related

CentOS 5 :: Error Starting Gnome Settings Daemon - Unknown Return Code 1

May 20, 2011

Getting this error seemingly randomly at login:
There was an error starting the GNOME Settings Daemon.
Some things, such as themes, sounds, or background settings may not work correctly.

The last error message was:
Launch helper exited with unknown return code 1
GNOME will still try to restart the Settings Daemon next time you log in.
I thought I might be logging in to fast, but it happened again when I had waited several minutes.

View 9 Replies View Related

Programming :: Use SSE(2,3) In C/C++ Code?

Jun 6, 2011

I am working on a project with a lot of vector math and I'd like to find a way to speed it up.eading about SSE, but I've found no explanation on how to actually use it in code (was looking for some kind of hello-world example, complete with compilation instructions).Does the gcc compiler automatically make use of SSE, if you add the -sse(2,3) option on the command line? Or are their specific functions/libraries you need to call?

View 12 Replies View Related

Programming :: Code That Will Never Execute

May 23, 2011

Is there, by chance, a fancy name to describe code that must be in a program but will never be executed? In one of my (Haskell) programs, I have some error-handling code that must be in the program to keep the compiler happy (due to the type checking). However I know that, due to the logical structure of the program, it is impossible for the code to be evaluated. I am curious if there is a technical name given to code that must exist but cannot be executed.

View 6 Replies View Related

Programming :: GLX Code Won't Run Anymore?

Jan 14, 2011

I went to compile some "oldish" glx code. The code compiles great but when I go to run it I get a crash. With X Error of failed request: BadMatch (in .....running ddd causes my whole system to lock up when I call the glx function XOpenDisplay. After a few attempts I thought I'd download a demo from the net, I choose nehe opengl tutorial 2, I compiled and ran but even on a net tutorial I get the same error

XF86VidModeExtension-Version 2.2
Got Doublebuffered Visual!


View 1 Replies View Related

Programming :: Translating Code To OSX?

Jul 20, 2011

I have the following code:

function dx {


So essentially, it finds dx files, sorts them by numbers at the beginning, then performs the dx function I made (loops over all of the #-protein.dx and #-water.dx files).

It works fine when I'm running it on Ubuntu 11.04. However, when I try to run it on OSX, I get the following error:

mh320m01:DA_R02 janickij$ ./
find: illegal option -- t
find: illegal option -- y


View 9 Replies View Related

Programming :: How To Share Code With Others

Jan 5, 2010

I work as a linux sysadmin, and are now and then developing scripts that might be of use for others. I'd like to be able to share these, and for less trivial projects maybe create a central repository or something that others may upload updates/patches to etc.

View 10 Replies View Related

Programming :: How To Combine ASM And C Code

Apr 10, 2010

I have a little test program consisting of a NASM source file and a C source file.How do I turn them into a single program?

section .data
msg db 'Hello, World!', 10


View 14 Replies View Related

Programming :: Three Lines Of Code - What Do They Actually Mean

Feb 23, 2011

whichever source code I go through I find these three lines of code written what do they actually mean and what is their function?


View 6 Replies View Related

Programming :: Using XML In Java?

Jan 6, 2011

how to implement this.

View 3 Replies View Related

Programming :: How To Use Bash Variable In C Code?

Feb 16, 2011

I want to write a c program with some shell scripts.Now For a simple C program. I am Setting a variable called val2 in bash, now I want to use bash variable val2 in C code. How do I do that?The above doesn't work (coz its spawning a different memory space and when shell script ends the variable dies with it as per my research but how do I keep them in same memory space)Also Is there any Good reference where they teach how to integrate C and Bash Together?

View 5 Replies View Related

Programming :: Alternative For Code: Wc -l Using Grep?

Mar 23, 2011

Can you find an alternative for Code: wc -l using grep?

View 1 Replies View Related

Copyrights 2005-15, All rights reserved