Tagged Questions
Java is an object-oriented language and runtime environment (JRE). Java programs are platform independent, because they are compiled to bytecode and their execution is handled by a Virtual Machine called the Java VM or JVM.
0
votes
0answers
4 views
unexpected behaviour while reading intermediate file : HADOOP
i have a file written by reducer1 in TextOutputFormat and i am trying to get data in next mapper from it line by line processing and i m using this code in next mapper, but according to this code next ...
0
votes
1answer
13 views
Samsung Java SDK 1.2.2 for OSX
I'm trying to find a Samsung Java SDK 1.2.2 for OSX, is there anyone? In Samsung Java SDK I've just found one for Windows.
Thanks!
1
vote
1answer
10 views
Overhead of getting file metadata (last modified date)
Am I correct in assuming that java.io.File(file).lastModified() will not cause the file itself to be loaded in any way and thus have minimal overhead? It's a really basic question, however I can't ...
0
votes
0answers
10 views
Getting tons of Exceptions from HtmlUnit and getPage() not working?
I'm attempting to scrape the practice quizzes from my History Book's website so that I can assemble them all into one big test to study.
The page is here.
It is all driven by javascript, so I'm ...
0
votes
0answers
14 views
Processing exported executable references
I want to export from processing an executable.This happens normaly but it makes also 2 folders one source and one lib that stors the .pde and the .jar files that the executable needs. I want to make ...
0
votes
0answers
21 views
Prevent stoping android service
I've a Service that is called from an Activity with this code :
startService(new Intent(AMC_Activity.this,CallService.class));
Service is running good for about 20-30 minutes, but after that ...
-2
votes
1answer
25 views
Decode and Decode UTF-8 with Java
I'm have a problem to decode and encode String,
My program reads String Value Hungr\u00EDa from Response webservice, and then i need translate this value to HungrĂa.. I can't understand how to works. ...
-1
votes
0answers
37 views
File Caching Effects Java
I've build a test project and collect runtimes of different operations.
First I take 6000 image files from a directory, than use ImageIO to read into Image and BufferedImage objects.
On the second ...
0
votes
1answer
33 views
Weird situation on onClick(), if else condition is failing
I'm having a very weird situation in my app. I have an activity, on which I have log in button. On button click I'm checking whether user is logged in or not, and simultaneously showing proper ...
0
votes
1answer
27 views
NoClassDefFoundError in the simplest tomcat web app ever
I have an extremely simple web app for experimenting in java. I have the following java class defined:
And a JSP file as follows:
The tomcat folders/files look like this (this is not official ...
0
votes
1answer
25 views
Java textField infinite loop
when I run this code, the do while becomes an infinite loop, I don't understand why.
public int playTurn(int pileSize){
int marbles;
do{
marbles = gui.getMarblesToRemove();
...
0
votes
2answers
13 views
Appengine MemCache resets across multiple runs
I m new to app engine. I m using Memcache and running it in eclipse. And every time i run the app the value of memcache resets. And i dont have the old values
MemcacheService memCache= ...
0
votes
7answers
36 views
Allocate an ArrayList Values to Another
I have many functions that take a global ArrayList as an argument, some of them don't make any change of this list, and others are need to remove some elements of this array while working, so i create ...
0
votes
0answers
12 views
Android - getActionBar().setDisplayHomeAsUpEnabled() crashes app, only on small French screen
So I am in the process of localizing my app for different languages, starting with French, and have come across a bizarre problem.
Upon creating an activity, I call ...
2
votes
1answer
14 views
playin sound inside CountdownTimer doesnt stop
i have this code for downtime counter :
CountDownTimer CountdownTimer = new CountDownTimer(30000, 1000) {
public void onTick(long millisUntilFinished) {
txttime.setText( ...