35,618 Topics

Member Avatar for
Member Avatar for hwoarang69

I am trying to start up JBoss with parameters in Windows but getting some errors. If I remove parameters than JBoss startup iwht no errors. Could some one please take a look. # environment variables: # JAVA_HOME=C:\Java\jdk1.6.0_45 JBOSS_HOME=C:\bin\jboss-eap-6.1 Path=C:\Java\jdk1.6.0_45\bin;C:\WINDOWS\system32; # start up jboss with following parameters: # set "JAVA_OPTS=%JAVA_OPTS% -Djava.rmi.server.hostname=myhost …

Member Avatar for hwoarang69
0
671
Member Avatar for Mr.M

Hi Dw How can I delete a registry key for other program, I just checked my registry and the virus was registered under the same registry key of my other program and now I want to use java as also part of learning java and the method of accessing and …

Member Avatar for Mr.M
0
2K
Member Avatar for henryz_box

I'm using: Windows 7 Home Premium 64-bit operating system Netbeans IDE 8.0 WAMP Server 2.5 Here is my issiue. I am attempting to follow the E-commerce tutorial in the Netbeans Java EE & Java Web learning trail (Section 3 "The NetBeans E-commerce Tutorial - Setting up the Development Environment"). In …

Member Avatar for henryz_box
0
5K
Member Avatar for brittney_2

I am having trouble understanding exception handling, unfortunately it just really confuses me. So, I have to implement exception codes that have been created by my teacher in another code with try and catch blocks. I understand the majority of the try and catch blocks, but I don't know how …

Member Avatar for brittney_2
0
223
Member Avatar for shrutisoni

hie. can u help me to create pdf in java with textfield in which i want to add full name then i want to display that entered name on another new pdf. i tried but i have to open second pdf to see result.. it will not working automatically to …

Member Avatar for shrutisoni
0
69
Member Avatar for Pyler

I recently moved both my eclipse and Android folder into the same location. I didn't know that this would mess up eclipse. My themes are gone and eclipse can no longer locate the Android SDK. I've looked for ways to fix this online but most of the answers involve reinstalling …

Member Avatar for peter_budo
0
319
Member Avatar for anita_2

- I have a number of player. - For each player i have to maintain 2D array how will do that in java i have no idea can you please help me.

Member Avatar for anita_2
0
187
Member Avatar for Pavithra_1

try { int req_id=Integer.parseInt(request.getParameter("id")); Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con=DriverManager.getConnection("jdbc:odbc:amcdb","",""); Statement st=con.createStatement(); ResultSet rs=st.executeQuery("select email from detail where id="+req_id+""); String result; String to=rs.getString(4); }

Member Avatar for jwenting
0
153
Member Avatar for shrutisoni

i have one problem to retrive data by row vise in new page from database and it will also keep null value space when it will printing. please help me so display data without null (space) and also row vise.

Member Avatar for pyaythu
0
113
Member Avatar for karthick_pmk

String[] mT={"A","B"}; String[] mT2={"A","BB","C","A","B","C","C","A","D","F","B"}; for(int i=0;i<mT.length;i++) { for(int j=0;j<mT2.length;j++) { if(mT[i].equals(mT2[j])) { System.out.println("Equal Values are :"+mT2[j]); } else { System.out.println(" Not- Equal Values are :"+mT2[j]); } } } output : Equal Values are :A Not- Equal Values are :BB Not- Equal Values are :C Equal Values are :A Not- Equal …

Member Avatar for karthick_pmk
0
341
Member Avatar for shwetha.marigowda

hi , i have a java bean string which contains html and as well as jstl code ,, html code is rendering to jsp,, butnot the jstl code , how do i render that to jsp

Member Avatar for shwetha.marigowda
0
522
Member Avatar for xxmp

Hello i am using jsf and i have this form <h:form> <h:inputHidden id="user_id" value="3" /> <h:commandButton action="userprofile.xhtml?faces-redirect=true" value="Profile" /> <h:commandButton action="addappointment.xhtml" value="Appontment" /> </h:form> How i can access at the page userprofile the value user_id=3 ? Thanks

Member Avatar for xxmp
0
68
Member Avatar for Usman_7

Hi, I am looking for 2D sheet optimization software (that reads inputs for different size of sheet and required cut size) the program should give an optimum cutting plan with minimum scrap size. 'like to know if anyone has developed similar program in Java. regards, Usman

Member Avatar for Usman_7
0
277
Member Avatar for SpottyBlue

I was doing the class tutorial to have matrix multiplication from two dimensional arrays: X (3x2) and Y (2x3). package t7; public class Q5 { public static void main(String[] args) { int[][] matrix_X = new int [3][2]; int[][] matrix_Y = new int [2][3]; int[][] result = new int [3][3]; for …

Member Avatar for Taywin
0
349
Member Avatar for anita_2

- Actually i am developing music housie game and there is a condition that until 97 songs are not played housie not be completed. -And songs are played sequencly. - So i am doing is that put 97 number in ticket (every songs have a number ) but there is …

Member Avatar for jwenting
0
197
Member Avatar for Szabi Zsoldos

Hello people :) Having some difficulties regarding a simple substring. Then length of my line is 52 and I iterate it without any problems. When I use this untill the 22nd character it is working final String articleNumber = StringUtils.trimToEmpty(StringUtils.substring(lineValue, 0, 22)); If I want to pass over the 22nd …

Member Avatar for Lucaci Andrew
0
274
Member Avatar for kannathasan.12

How can find out this error?? please any one help me??? ghroomreservation.java:440: cannot resolve symbol symbol : class Mailercm location: class ghroomreservation Mailercm n=new Mailercm();

Member Avatar for JamesCherrill
0
44
Member Avatar for Slavi

I asked a week ago a question about this, now I tried to google around and found this toHex method. It has an empty spot about the charset. For example I want to use UTF-8 but if I enter it returns an error and if I don't specify it, the …

Member Avatar for JamesCherrill
0
387
Member Avatar for Mrewan79

Hi everyone, I'm a computer science student and I want to make a hexagonal grid or map for use as a sort of board for making basic games and so forth. I have found some similar projects in C# and am trying to figure out how to create a 'board' …

Member Avatar for jwenting
0
469
Member Avatar for phuttawat

Help me Subject java (Input month name output number of days) user for an input 1-12 for a month, and it outputs the number of days in that month. The modifications would make it so that the user inputs the name of the month instead of the value, and the …

Member Avatar for jwenting
0
346
Member Avatar for shamagantu

Hello: A couple days ago I found an error log on my desktop (hs_err_pid6028.log), something about a fatal java error and a game called minecraft. I am pretty sure I never installed minecraft. That got me worried, so I browsed my java control panel and saw that there is no …

Member Avatar for Ummn
0
480
Member Avatar for dj4388
Member Avatar for rowen_1

The game starts off by distributing 4 cards for the deck such a way that the player receives the card first, then the dealer..and so on. round 1. the program will display the first two cards of the player and dealer the first card of the dealer faced down and …

Member Avatar for rowen_1
0
301
Member Avatar for beeho

Hello All, long time no see, I'm seeking for websites that provides practices of C++ and Java examples for programming students, the idea is to give me a programming question to solve in order to train myself. thanks.

Member Avatar for Hiroshe
0
366
Member Avatar for Adami

Hi guys, I wrote the following code: public static boolean match(int[] a , int[] pattern) { //need to use the overloaded method, in order to work with the static method. return match(a,pattern,0,0); } /** This is an overloaded method that match between a pattern to a given string (as an …

Member Avatar for Adami
0
3K
Member Avatar for asaidi

Hi i have 2 tables customer (cabinet_num which is integer) and cabinet (cabinet_num Autoincrement and cabinet_title) in my java i can display cabinet title to let the user choose a cabinet..but i want to collect the cainet_number in my customer table customet.cabinet package cabinet; import java.awt.BorderLayout; import java.awt.EventQueue; import javax.swing.JFrame; …

Member Avatar for mKorbel
0
302
Member Avatar for sel15

I have implemented an FFT algorithm (by looking it up online) and integrated it into ImageJ but when I run it the image produced by the FFT algorithm is different from the image produced by the ImageJ software. I can't seem to find the error, I was hoping someone can …

0
185
Member Avatar for eluciveLu

I would like to create a folder that has been specified by a user i a JSP. for example, in the jsp page below called index.jsp the user is asked to create a folder.. <form action="CreateFolder.jsp" method="post"> <h3> Create New Folder <h3> <input name="createfolder" type="text"> <input type="submit" value"Create Folder"> </form> …

Member Avatar for stultuske
0
2K
Member Avatar for tabish saroha

Dear All, I I want to develop an application using java language. In this application i want to get data by scanning an image from scaner and put this data into database. Please anyone can help me in this article.... Regards, Tabish Saroha

Member Avatar for JamesCherrill
0
1K
Member Avatar for Pyler

Eclipse throws an error whenever I start it up (see attachment). Any help is greatly appreciated.

Member Avatar for peter_budo
0
162

The End.