32,204 Topics

Member Avatar for
Member Avatar for conandor

I compiling with Solaris 10 SPARC, jdk 1.6 from Sun, Ant 1.7.1 from OpenCSW. I have no problem running hadoop 0.17.2.1 However, I have problem compiling/integrating hive with the error 'cannot find symbol', although I followed the tutorial. I have the hive source code from SVN exactly from tutorial. How …

Member Avatar for masijade
0
922
Member Avatar for BuhRock

I need help with this program write a payroll class that uses the following arrays as fields: *employeeID.- an array of seven integers to hold employee identification numbers. The array should be initialized with the following numbers: 5658845 4520125 7895122 8777541 8451277 1302850 7580489 *hours.- An array of seven integers …

Member Avatar for Ezzaral
0
1K
Member Avatar for Odena

Im trying to run some codes i found of JDom for a home work (super hard to find good material) any way. I was trying to run it on NetBeans and I dont have the library " org.jdom " Anyone, can please give me the right link to download this …

Member Avatar for peter_budo
0
104
Member Avatar for new_divine

as a undergrad student i am thinking of making a mobile application online traffic system and informer using java specially for nokia mobile devices i have almost finished developing its algorithm and some design works are on progress but i am really stuck and confused about which ide should i …

Member Avatar for new_divine
0
72
Member Avatar for JavaChick815

Hey all, I'm getting a bit confused.. I want to be able to create a pin number, but I want to to be scored out like this (****)... How can I do this?? Additionally I want to add different language setting options, how can I do this too?? Thank you …

Member Avatar for masijade
0
27
Member Avatar for dan345

hi, im quite new to java, and i've been trying to understand this code, but i have no clue about the red parts. does anyone have any idea of what the red parts of this code do? [CODE] import java.io.*; public class BWTEncode { public static void main(String args[]) { …

Member Avatar for masijade
0
145
Member Avatar for jtodd

Hey guys! This is a relativity simple program. It compiles fine but when I try to execute there is a problem. Any insight or advise would be greatly appreciated. Thank you import java.util.Scanner; public class Power { public static void main( String[] args ) { Scanner input = new Scanner( …

Member Avatar for vchandra
0
103
Member Avatar for RossThels

Hey again guys, I've been stressing over this problem for the past few hours now, and cannot figure out why it's doing what it's doing. I'm rather new to java...but here we go :) I currently have a slideshow class -and here it is. Sorry if it's sloppily written code...but …

Member Avatar for Ezzaral
0
120
Member Avatar for softdev

Hi, can anyone direct me to a good tutorials on drawing in java. i.e i want to draw car and allow it to move horizontally inside a lane. or draw a person and move him vertically or horizontally using keyboard keys. any example codes or tutorials will do.

Member Avatar for Ezzaral
0
60
Member Avatar for sixesox

did anyone here know how to draw a exponential graph in java netbean?what link should i refer?

Member Avatar for Ezzaral
0
88
Member Avatar for music_est_vie

Hello I am new to Java. I am building a video game for school - similar to the Sims game - and have encountered an issue. My group is creting all the algorithims for calculating health, keeping track of time, achievments, etc. My job is to create the graphical interfaace. …

Member Avatar for javaAddict
0
168
Member Avatar for aditya_22cent

I have created a text box in html and if the string entered by user is a alphabet it will not show any message ,else it should display a error message..These checking validations of textbox is done in java and called in jsp; ---------------------------------------------------------- [B]a.html [/B] [code=html]<font size="4">Enter the search …

Member Avatar for javaAddict
0
132
Member Avatar for chrisb76

I am having multible problems with my code. Here is what it is supposed to do: Write the program in Java (with a graphical user interface) and have it calculate and display the mortgage payment amount from user input of the amount of the mortgage, the term of the mortgage, …

Member Avatar for stultuske
0
99
Member Avatar for George2

Hello everyone, Are there any approaches to invoke Java libraries from C/C++? Thanks in advance, George

Member Avatar for hasrule
0
529
Member Avatar for aomran

I am getting Exception in thread "main" java.lang.nullpointerException on line 113,92,200, need help [CODE] // heap.java // demonstrates heaps // to run this program: C>java HeapApp import java.io.*; // //import java.util.Scanner; class Node { private int iData; // data item (key) // ------------------------------------------------------------ public Node(int key) // constructor { iData …

Member Avatar for aomran
0
140
Member Avatar for lumbeelock

public class TestOctagon { public static void main(String[] args) { Octagon octagon = new Octagon(1); System.out.println("1st Octagon " + octagon.toString()); System.out.println("The area is " + octagon.getArea()); System.out.println("The perimeter is " + octagon.getPerimeter()); Octagon octagon1 = new Octagon(2); System.out.println("2nd Octagon " + octagon1.toString()); System.out.println("The area is " + octagon1.getArea()); System.out.println("The perimeter …

Member Avatar for vchandra
0
99
Member Avatar for MoooCow

I have a linklist of nodes which have a link list of edges. This method is trying to get the number of edges so the nodes will know how many edges it has. However, this doesn't really work and I am wondering how to fix it. thank you in advance. …

0
35
Member Avatar for Gage84

Hi, I'm new to this forum I'm trying to allow my menu items to work by allowing a user to press it and then display a message such as 'door locks' etc and keep a progress that the door is locked or unlocked... pic below highlighted in red however with …

Member Avatar for Ezzaral
0
106
Member Avatar for RossThels

Hello, I have the current problem. As it stands im working on an ImageViewer project. I'm having trouble determining the mouse location for what I think are the following reasons. I currently have the frame, and within that frame is a JTabbedPane. Each tab is a new object, which creates …

Member Avatar for Ezzaral
0
119
Member Avatar for aodpreacher

I am trying to make a program that finds the max and min of more than 2 inputs and i am trying to use the Math.Min and Math.Max method but i cant seem to get them too work since they only accept 2 parameters. this is what i tried to …

Member Avatar for DeeZi
0
10K
Member Avatar for pepperleaf

I use this method to check the values from the scanner. My do-while loop prints an error message and then resets to the beginning of the scanner after an invalid value is detected. But it also resets when I've used good values, without the error message. I've been googling up …

Member Avatar for pepperleaf
0
150
Member Avatar for Awais Ahmad

I am making a simple Notepad Application in Java.I want to find strings in JEditorPane.I have no idea of how to find and highlite it.

Member Avatar for Ezzaral
0
50
Member Avatar for MiamiPPCPro

I apologize if I didn't post this in the right forum, but I did a search on this site and couldn't find anything on this topic... So, here is the deal...I am not at all a programmer, and have no knowledge of it whatsoever...As such, I am working on a …

Member Avatar for music_est_vie
0
176
Member Avatar for pirateninja1111

I'm wondering how to start a Boolean array at 1 instead of 0. so far the only thing i can think of is: [CODE] Boolean [] x = new Boolean[12]+ 1; or Boolean [] x= new Boolean[12 + 1]; [/CODE] and the top one does not compile while the bottom …

Member Avatar for masijade
0
132
Member Avatar for dolorous86

hello guys, i have several problem with exception such as IOException , NullPointerException,and ArrayIndexOutOfBoundsException. i do BLUETOOTH PUBLIC AND PRIVATE CHATROOM. so, while im running the emulator in netbeans, the problem with exception appear in output pane: i already choose PUBLIC chat and do chatting without any problem, let say …

Member Avatar for peter_budo
0
129
Member Avatar for happyhound

Hello, I have been programming with the same JDK SE since last semester and now all of a sudden I am getting an exception in "main" with just a print statement. I uninstalled the old then reinstalled a newer version of the JDK SE from sun but I am still …

Member Avatar for peter_budo
0
134
Member Avatar for Nickair

Hi, I am currently learning the Java programming language and have downloaded the latest Eclipse Platform to program with and encountered an interesting error while trying to import a folder with some of my previous work. the importing client in eclipse encountered some error about a buffer overload which i …

0
88
Member Avatar for Addi15

Hey Guys I was wondering if anyone could help me. I have to put pictures such as JPEG's into a swing program as part of an assignment. I've looked in textbooks and online but anything I find doesn't work. Can this be done cause I'm completely lost with it? Please …

Member Avatar for Ezzaral
0
59
Member Avatar for Amurka

Annual Interest Rate [COLOR="Red"] Monthly Payment[/COLOR] 11.00 [COLOR="Red"]952.32[/COLOR] 11.25 [COLOR="Red"] 971.26[/COLOR] 11.50 [COLOR="Red"]990.29[/COLOR] 11.75 [COLOR="Red"]1009.41[/COLOR] 12.00 [COLOR="Red"]1028.61[/COLOR] I've done the hard part and completed the project, but I can't figure out how to get my program to output in two columns like above. Since this site doesn't take spacing, black …

Member Avatar for alisneaky
0
2K
Member Avatar for bletchley

Any good web resources out there for picking up C++ after already knowing Java? It's kind of a yawn to have to go back over concepts that are already familiar - functions, classes, polymorphism, recursion, etc. Really just looking for syntactic differences. Would be great to find some solid tutorials …

Member Avatar for Ancient Dragon
0
96

The End.