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
ADVERTISEMENT
Oct 21, 2010
I just tried the simplest 'Hello world' example as below.
Code:
#include <stdio.h>
int main()
{
printf("Content-type: text/html
");
[Code]...
Code: gcc -o hello.cgi hello.c Also grand a+x to the file and enable *.pl and *.cgi for cgi-script at apache2.conf The server reminds me 'Internal Server error' The weird thing is that I have a perl cgi in the same place with same privilege, which works perfect...
[Code]....
View 4 Replies
View Related
Apr 6, 2011
I wanted to develop a cross platform GUI application.So I thought I would research on Firefox.I havent been able to find out which GUI framework is FireFox using ?Is it GTK, QT, or what ?
View 14 Replies
View Related
Mar 29, 2010
I'm playing around with a 2D physics game called Phun, which has an "advanced" mode, where you can mess around with scripts. I'm rather new to Thyme, having just started using it a few days ago, lol. I'm just wondering if there's a script I could use to create an oscillating number to use in a spring (in the game) for one of my little builds?
View 13 Replies
View Related
Aug 7, 2010
From the following code
Code:
<table width="100%" border="0" cellspacing="3" cellpadding="3">
<tr>
<td colspan="2"><p style="width:460px; display:block;">
I wan to get this text only from the whole html code. </p></td> From the above code I want to get that english written sentence only using php preg_match or anything other which makes it possible. I've tried following so far but doesn't work
Code:
preg_match("#<td colspan="2"><p style="width:460px; display:block;">[ .]+</p>#i", $aboveCode, $match);
View 5 Replies
View Related
Jun 9, 2011
I tried playing a movie on the computer and nothing happened. Thats when I figured out I don't have a program to play the movie so my question is what dvd player program is good? Also is the source and slackbuild going to be on the slackbuild website so I can download it? The reason I ask the last question is because I tried to install swiftfox and opera but they don't have the source or slackbuild for them. For an older version of opera they did have the slackbuild and source but not the new one.
View 14 Replies
View Related
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
Jul 14, 2009
How to use execv from kernel space to call a user space program writtenfor socket prog.
I tried to write code for socket in kernel but its not working.
Socket code in kernel is also needed.
View 2 Replies
View Related
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
View Related
Dec 2, 2010
It looks like the desktop amusements that used to work under KDE 3.5 no longer work in the current v4. I've installed xpeguins, but it does not seem to produce any output on the display. I have enabled desktop effects, but no penguins appear. Is there some setting needed for this to work?
I'm running SUSE 11.3/KDE 4.5.3.
View 1 Replies
View Related
Feb 27, 2010
after search and look at in vcar/log/pm-suspend.log I changed and quoted line to /usr/lib64/pm-utils/sleep.d/00logging who are reference to command free
[Code].....
View 4 Replies
View Related
Dec 11, 2010
After upgrading to -current (using slackpkg), my touchpad scrolling won't work.I remember that this had solved my problem previous time and in fact, after upgrade I have changed nothing (since this file already existed there). When I check the /usr/share/hal/fdi/ policy/ 10osvendor/ directory, I see that no "11-x11-synaptics.fdi" file was present. I just copied the file from /etc/hal/fdi/policy into this directory, but this did not help. Can somebody guide me through this?
View 14 Replies
View Related
Mar 16, 2011
I'm using -current (xfce-4.6.2) I've noticed that the shortcuts I define aren't working anymore. The ones I define through windowmanager -> keyboard are ok, but the ones through keyboard-> application shortcuts are ignored.
View 5 Replies
View Related
Aug 6, 2011
I would like to know how I stop the current window I am on following me when I switch workspace.for example, I have this web browser open whilst I am typing this, I press Ctrl+. (my shortcut to take me to the workspace to the right), and instead of taking me to what was a nice empty workspace on the right, it sweeps this web browser to it as well.I can't find a way to configure this to my liking, can anyone help?
View 4 Replies
View Related
Jun 7, 2011
I am writing this because I want to keep all of the things that I have now on my ubuntu 10.
4 computer and do not want to upgrade until I have some way of keeping all of the things that I currently have on it.Sohow so I make this happen? Should I try to load these program settings on a flash drive?
View 1 Replies
View Related
Feb 11, 2011
I have to write a script that says Hello, [current user]. Today is [date]. The time is [time am/pm]. You have logged into a [term] terminal.My script looks like this:
DOW=`date +%A`
MOY= `date +%B`
DOM= `date +%d`
[code]....
View 1 Replies
View Related
Feb 24, 2011
I have a script: Code: #!/bin/bash
THEYEAR=2011
LASTYEAR=$(($THEYEAR - 1))
echo $THEYEAR
echo $LASTYEAR I get:
[Code]...
THEYEAR is correct but then I get a line space and then a -1 for LASTYEAR. I can't figure out why.
View 2 Replies
View Related
Dec 8, 2010
Code:
#if defined(WIN32) || defined(WIN64)
#define WINDOWS
#endif
[code]....
what is the directive thats required to detect a linux system? i want to to be able to detect which platform im compiling on automatically.
View 5 Replies
View Related
Jun 18, 2010
I'm looking for a function (prefer POSIX, but Linux specific would do if it has to) to get the current timezone offset. For my location, eastern USA, that should be -14400 when daylight time is in effect, and -18000 otherwise.
View 1 Replies
View Related
Jun 28, 2010
Detect the current window that has the focus. For example at the moment am using firefox therefore teh function should say firefox is the main window.
View 2 Replies
View Related
Feb 14, 2011
When I run:make -f mymakefile clean I get:rm -f mybinary *.so.* *.dep *.o mybinary.symand all the above files are removed from the current directory.But I have a directory /src/ where I have all my source files located. The *.o file in this directory are not removed?
View 4 Replies
View Related
Oct 20, 2010
how to pipe the current directory listing into sort so that the output is the date in descending order (primary sort key). If there are multiple entries with the same date, I'd like the times sorted in ascending order. It seems simple but for some reason this isn't working:
ls -l | sort -k 6r -k 7
For some reason it doesn't seem to ever get to the second sort key when using column 6 (last modified date).
View 2 Replies
View Related
Jan 17, 2010
Actually I suppose to use this "htop" command to get the system utilities like current processor speed ,running programs ,memory usage(ram and swap) to my program. I planned to get it using popen(). I was success popen("top | grep Mem", "r") with top command. But are there a way to take such information using "htop". Or are there any idea of taking current CPU,MEM,Swp usage as well as Tasks and running tasks using htop or other way to C program...
View 1 Replies
View Related
Feb 15, 2010
How to list only hidden files in current directory ?
View 2 Replies
View Related
Dec 22, 2010
I've got some bash scripts that I'm testing which operate on different screen sessions under different usernames. In order to check the status of them, however, I have to attach the screen sessions to my current terminal.
I run into problems, though; I only allow SSH to my machine from one username; the others shouldn't need SSH access. So, I log in as one user, and su into whichever user I need. Without performing a chmod o+rw on the terminal before I su into a different user, screen complains that it can't reattach to my terminal, because the user trying to make it attach doesn't have the permissions to do so.
Seeing as I forget to do this a lot, I wanted to make a script that I'd run on log-in to do this for me. Unfortunately, I don't know if there's a bash variable that refers to the current terminal - I can't always guarantee that I'll be logging in to /dev/pts/0, especially if my internet connection gets cut and I leave a hanging terminal...
Is there a variable for that or a way to refer to it in a script? If not, how do I work around that?
View 4 Replies
View Related
Jan 12, 2011
What functions are available on linux for a c++ program to determine if the current user is a member of a specific user group?
View 3 Replies
View Related
Dec 25, 2010
How can I print the current time of my system with a batch file. My os is ubuntu.
View 4 Replies
View Related
May 2, 2010
how can i actually switch to another directory with "chdir" in perl.like the we used to do is bash as:
Code:
$cat abc
cd Desktop/
[code]...
View 1 Replies
View Related
Oct 20, 2010
I have several users on handhelds and they like to let their sessions time out. Their zombie processes then cause record locks.I've come up with calls for killing the pids for any prior sessions started by a given user. This procedure would be executed in the .bash_profile.
View 3 Replies
View Related
Apr 1, 2009
Want to return current LINES=, tryng to avoid the "hacky" backticks and string manipulation way
ie: my $somevar = `set | grep LINES`
I tried using the env command and it returns a empty value?
my $lines = $ENV{'LINES'};
$= doesnt work well for putty sessions...
my $lines = $=;
View 6 Replies
View Related