35,618 Topics
![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
- 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. | |
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); } | |
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. | |
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 … | |
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 | |
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 | |
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 | |
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 … | |
- 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 … | |
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 … | |
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(); | |
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 … | |
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' … | |
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 … | |
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 … | |
please help how to run a java program on start up. | |
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 … | |
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. | |
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 … | |
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; … | |
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 … | |
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> … | |
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 | |
Eclipse throws an error whenever I start it up (see attachment). Any help is greatly appreciated. |
The End.