PHP's phpwhois in Java?
phpwhois is a script for PHP that allows you to perform whois lookups on any domain: http://sourceforge.net/projects/phpwhois/ Does anyone know of a comparable Java package that can accomplish the same thing? Thanks! ...
phpwhois is a script for PHP that allows you to perform whois lookups on any domain: http://sourceforge.net/projects/phpwhois/ Does anyone know of a comparable Java package that can accomplish the same thing? Thanks! ...
The full message that I got on the console is: Invalid memory access of location 00000000 eip=0117f7e1 Bus error I don't remember seeing the Java VM crashing with this before, and I wasn't running code that was particularly new. Have you ever seen this before? I got this error running Java 1.5 on OS X. The precise version is: java v...
I'm looking for a lightweight java reporting engine to be embedded in an applet application. My first option was Jasper Reports, but the jar is over 2Mb, a little too heavy (and too bloated) for my needs. I don't know if there is modular jasper distribution, with funcionalities split in several jars (like html rendering, pdf, excel, com...
Hello all, I am looking for a java applet to be embedded in a web page and be able to present notes or tabs based on midi files. I would also be very happy if it could be able to play these files. Does any of you know of such an applet? perhaps some kind of an open source project ongoing somewhere? ...
Hello all, I have a very simple war project and I want to include a folder:META-INF at the top of the classes output folder where all the compiled java classes are. Im doing this by using maven but it seems that by default maven won't include anything that is not a java class. So it ignores my META-INF folder that is sitting at the top...
i am using netbeans6.7 ide i have created a jsp file usermanagement.jsp in jspfiles folder in web folder and created a java package com.test.test1 then created a java class in temp in this java package now i want to import this java package in usermanagement.jsp i have written <%@ page import=''%> but my package is not getting populat...
Hi all, At the moment I have a Ruby on Rails application which maintains my Users, I have a seperate application (Pentaho) which uses Acegi/Spring Security to authenticate Users. I have been able to change the way Acegi/Spring Security authenticates Users and now it points to my Ruby on Rails application's database and I can get Users ...
In visual studio 2003's project settings, I specified the java.exe as the program to execute when debugging. I set the working directory in which the JNI dlland JNI jar is available. I set the class paths and the command line arguments which I would pass to java in the program arguments. The java file which I am using is compiled with ...
I'm creating an InnoSetup installer for a jar app. What I want to do right now is to check if java is present before proceeding with the install. So I only need to be sure the users will be able to run: java -jar my-app.jar What I'm doing right now is: [Code] function InitializeSetup(): Boolean; var ErrorCode: Integer; JavaInsta...
Does anyone know how to get triggers created over JDBC. It appears that the problem is to do with the semicolon. Any feedback much appreciated. The following SQL works when run on the database, but not when run using the following Java code: Connection c=null; Statement s=null; try { c=dataSource.getConnection(); ...
Are there any published reports on the market penetration of Java? ...
Is it possible within Java to identify the total CPU speed available as well as the total system memory? Network connection speed to the web would also be awesome. ...
I have a file path in String form. In Java, I need to determine if that file exists on the file system (and our code needs to be cross-platform as it runs on Windows, Linux and OS X). The problem is that the case of the file path and the file itself may not match, even though they do represent the same file (presumably this is because t...
I have a generic interface public interface Consumer<E> { public void consume(E e); } I have a class that consumes two types of objects, so I would like to do something like: public class TwoTypesConsumer implements Consumer<Tomato>, Consumer<Apple> { public void consume(Tomato t) { ..... } public void consume(Apple a) { ...
I have a need to calculate the minimum area rectangle (smallest possible rectangle) around the polygon. The only input i have is the number of points in polygon. soryy for the incomplete information . Yes i have the co-ordinates of the points also Thanks ...
I'm trying to write an application with J2ME that uses javax.microedition.rms.RecordStore to store persistent data. I'm developing this project in NetBeans 6.0 and J2ME 2.2 on Gentoo. When I try to run the project, I get an error because apparently the record store can't be created. Here's a sample of output including the stack trace: j...
I've got a WAR that i need to deploy with TomCat, but i'm not sure which version of the servlet spec the WAR file uses. According to apache's site (http://tomcat.apache.org/whichversion.html) i need to download a different version according to which spec the WAR file uses. Is there any way to tell by unzipping the WAR file and looking ...
Just wondering what the pros and cons of a TreeSet is, if anyone could tell me please? Thanks! ...
Do java support semantic webservices.Any apis are available for that.. ...
i tried the following program import java.io.*; class dr { public static void main(String args[]) { try{ File[] roots = File.listRoots(); for (int index = 0; index < roots.length; index++) { //Print out each drive/partition System.out.println(roots[index]...