HELP URGENT Inserting Text problem!
Can anyone tell me where I have gone wrong with my INSERT statement? I want to add user input into my Access 2000 Database when clicking on the button. The code compiles with no errors and when I run it I can get the connection to the database but when I enter data and click on the button nothing happens! This is hopefully the last part of my assignment so any ideas would be greatfully received!
Thanks
Han
Here is the code:
//Add Customer1 Class
import java.awt.GridLayout;
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
import java.sql.*;
public class AddCust1 extends JFrame implements ActionListener
private Connection Database;
JButton addCust = new JButton("Add Customer");
JButton cancel = new JButton("Cancel");
JTextField CustId = new JTextField(10);
JTextField FirstName = new JTextField(10);
JTextField Surname = new JTextField(10);
JTextField AddressF = new JTextField(20);
JTextField PhoneF = new JTextField(10);
JLabel Cust = new JLabel("Customer Id:");
JLabel First = new JLabel("First Name:");
JLabel Surn = new JLabel("Surname:");
JLabel Address = new JLabel("Address:");
JLabel Phone = new JLabel("Telephone:");
public AddCust1()
super("Add Customer");
setSize(350,150);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
JPanel pane = new JPanel();
pane.setLayout(new GridLayout(6,6));
pane.add(Cust);
pane.add(CustId);
pane.add(First);
pane.add(FirstName);
pane.add(Surn);
pane.add(Surname);
pane.add(Address);
pane.add(AddressF);
pane.add(Phone);
pane.add(PhoneF);
pane.add(addCust);
addCust.addActionListener(this);
pane.add(cancel);
cancel.addActionListener(this);
setContentPane(pane);
public void actionPerformed(ActionEvent evt)
Object source = evt.getSource();
if (source == addCust){
//connect to DB and insert data.
String url = "jdbc:odbc:Mikedb";
String username = "guest";
String password = "guest";
Statement DataRequest;
//Load the driver to allow connection to the database
try
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Database = DriverManager.getConnection(url);
System.out.println("Successful Connection" + Database);
catch(ClassNotFoundException error)
System.err.println("Failed to load JDBC/ODBC bridge." + error);
System.exit(1); //exit program
catch(SQLException error)
System.err.println("Unable to connect to the database." + error);
System.exit(2); //exit program
try
String query = "INSERT INTO Customer (Customer_id, FirstName, LastName, Address, Phone) VALUES ('"+CustId.getText()+"', '"+FirstName.getText()+"','"+Surname.getText()+"', '"+AddressF.getText()+"', '"+PhoneF.getText()+"')";
DataRequest = Database.createStatement();
DataRequest.close();
catch(SQLException err)
System.out.println("SQL Error: " + err);
System.exit(3);
else if (source == cancel){
dispose();
CustMenu cm = new CustMenu();
cm.show();
public static void main(String[] argurments) {
AddCust1 ac = new AddCust1();
ac.show();
}
Hey, You have forgotten to code,
int count = DataRequest.executeUpdate(query); statement.
Anyway, you need to close the connection object also. With out updating the database you are expecting the database to show results.
Hope this helps.
Sudha
Similar Messages
-
Help urgently needed: bizarre problem - no audio in imported clip!
Hey there!
I have a bizarre - never the less urgent problem:
When I import some material (presentations) which I have recorded on Mini DV with my Canon MVX10i Camcorder the following problem occurs:
There is one particular presentation which somehow looses the audio during the import process!
That means the imported clip has no audio even though the audfio is on tape! Other clips before and after do not have this problem - the audio is available after the import.
A bizarre but serious problem for me. Any suggestions?
Thanks a lot in advance
ThorgeI had a similar problem. When I started the tape from the beginning no audio would import. To solve it I started the tape a few seconds in and It seemed to work.
Hope this helps. -
Pls Help urgent with DATE problem
Dear Sir,
I have to make a classified system using asp and its almost
ready but.....,
i really have a big hope that someone helps me here
I have two columns to play with
1. strDate
2. StrDateDisplayAD
Once the user submits his AD I want the date to be inserted
into the date
column strDate which is working perfectly well
but at the same time I want the date to be added + 5 days and
insert into
the strDateDisplayAd column
for Example,
Lets say someone post his ad on 5th July, then the values in
the column must
be
strDate | StrDateDisplayAD
5/6/06 | 10/5/06
Thanks in advanceUse a hidden form element that has a value of 5 days added.
In ASP VBScriptit would look like this:
<input name="StrDateDisplayAD" type="hidden"
id="StrDateDisplayAD"
value="<%= FormatDateTime(DateAdd("d", 5, Now()),2)
%>">
Ken Ford
Adobe Community Expert
"Techy" <[email protected]> wrote in message
news:e883h2$it2$[email protected]..
> Dear Sir,
>
> I have to make a classified system using asp and its
almost ready
> but.....,
> i really have a big hope that someone helps me here
>
> I have two columns to play with
>
> 1. strDate
> 2. StrDateDisplayAD
>
> Once the user submits his AD I want the date to be
inserted into the date
> column strDate which is working perfectly well
>
> but at the same time I want the date to be added + 5
days and insert into
> the strDateDisplayAd column
>
> for Example,
>
> Lets say someone post his ad on 5th July, then the
values in the column
> must
> be
>
> strDate | StrDateDisplayAD
>
> 5/6/06 | 10/5/06
>
>
> Thanks in advance
>
>
> -
Please help , urgent . mail problem
Oracle forms/reports:
Hi have a .csv file and i want to send this file as an attachment using utl_smtp
e.g i had a file xy.csv located at c:\temp and when i call the procedure ,it pick the file c:\temp\abc.csv and send this file as an attachment to specific recipients
Please suggest how to do it .
I have installed utl_smtp and can easily send txt mails but cant do the attachment .
I tried to work with utl_mail but it does't work . please tell me how to do it with smtp .
regards
P.S:
version = 10g
os = windows .By wrapper, I mean you would create a database procedure that you call from Forms. This procedure would accept a VARCHAR2 parameter for the MIME-TYPE rather than a reference to the Package Variable. Something along the following:
CREATE OR REPLACE PROCEDURE MY_MAIL (
p_from VARCHAR2,
p_recipient VARCHAR2,
p_cc VARCHAR2,
p_bcc VARCHAR2,
p_subject VARCHAR2,
p_body VARCHAR2,
p_file_name VARCHAR2,
p_file_type VARCHAR2, etc)
AS
v_mime_type VARCHAR2;
myConn utl_smtp.connection;
BEGIN
IF p_file_type = 'BINARY' THEN /* You could actually define PDF, DOC, etc here if you wanted to */
v_mime_type := demo_mail.MULTIPART_MIME_TYPE;
ELSE
v_mime_type := 'text/plain';
END IF;
myConn := demo_mail.begin_mail( sender => p_from,
recipients => p_recipient,
subject => p_subject,
mime_type => v_mime_type);
/* Now call the other DEMO_MAIL Procedures or Functions to attach your
file, etc...*/
END;Obviously, this code snippet will not compile. It is simply to give you a starting place for your code. :-)
Hope this helps.
Craig... -
Help(Urgent): Report Font Problem
I am working on a report which supposes to generate PDF formatted report. It turns out that within the report builder, it generates nice PDF report with header font as MONOTYPE CORSIVA.
When this report is put into report server, the header font is changed to ARIAL. Any ideas that where the problem is?
Thank you in advance.
JimmyHi,
May I know the Oracle Reports version you are using. Whether the Oracle Reports Server
and the Builder is running in the same machine?. If not, check for the installation of the font in the machine where Server is running and add the path to the 'REPORTS_PATH'.
To solve you issue, try using the 'PDF Subsetting' feature.Go through the Chapter-Using PDF in Oracle Reports in "Oracle Application Server Reports Services Publishing Reports to the Web" - http://www.oracle.com/technology/documentation/reports.html.
Thanks,
Vidya -
I have one page on an eight page site. They are all made from
a the same template and all come up fine expept one which is the
one I am putting text into a padded cell inside another table. When
I put the table in and add padding everything is fine until I paste
the text in then when I open the page it ***** to the right. When I
delete the text the page still wants to shift. The body is
percentage based but all embedded tables have pixel width. I have
tried copying text line by line which works for a while then it
reaches a point and shifts the page again. Changing from CSS to
HTML tags has no effect. I would love some idea about this. Thankshave you tried pasting the text into the code instead of the
actual table?
what are you copying from? i've found that if i copy and
paste from an email message, it adds this prewrap tag to it, that
formats it as one long line, instead of wrapping like it should.
maybe you should show us your code and the text you're trying
to paste. -
Please help, urgent - address book problem
when i save a contact (mobile number), then later on or a few hours later, i cannot find that contact saved in my address book. this has hapenned multiple times to me.
Do a simple reboot on the BlackBerry in this manner: With the BlackBerry device POWERED ON, remove the battery for a minute, and then reinsert the battery to reboot. A reboot in this manner is prescribed for most glitches and operating system errors, and you will lose no data on the device doing this.
Now, see if the numbers are in the Address Book. AND, make sure no filters are checked.
ALSO, look at Options > Status > press the Menu key > Database sizes.
What is the size of your Address Book data?
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
Please Help.JTable insert styled text
Hi all java guru,
on post http://forum.java.sun.com/thread.jsp?forum=57&thread=485469 i've depicted my scenario in which i have a JTable where i want to add styled text.
i've implemented a CustomTableModel that maintains information about text style, in such way that when renderer cell, i can rebuild exact text with its style....same method is adopted for CellEditor.
It is possible to have more than one JTable in my application....then to correctly handle all JTables ' put them in a vector and during editing and rendering i find current focusable/selected JTable and edit/render it.
Clearly i maintain information about style of text when i insert it, that is when i insert text, i update my CustomTableModel...same thing must be done when i delete text from JTable...that is, i must update CustomTableModel too in this case.
Because my CellEditor is a JEditorPane component (extend it) i've registered document associated to it to a DocumentListener that notify every time that a remove operation is happens.
What is the problem now???problem is that when i finish to edit a cell and click on another cell i've got a removeUpdate(DocumenEvent e) event, and i can't distinguish it.....it seems a real remove event....
In this case(when i change cell) the code that is executes returns wrong result and invalidate all the rest.
I think error is where i register celleditor , now i do it in CustomCellRenderer class that extend JEditorPane and implements TableCellRenderer.
Please help me...this is a great trouble that invalidate all my work :(
Any new idea is welcome.
regards,
anti-shockHi stanislav, of course i can...you're a myth :)
public class CustomCellEditor extends AbstractCellEditor implements TableCellEditor {
CellEditor cellArea;
JTable table;
public CustomCellEditor(JTable ta) {
super();
table = ta;
// this component relies on having this renderer for the String class
MultiLineCellRenderer renderer = new MultiLineCellRenderer();
table.setDefaultRenderer(String.class,renderer);
public Object getCellEditorValue() {
return cellArea.getText();
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) {
int start = 0;
int end = 0;
// Get current selected table
TableEditor tb = (TableEditor) TableEditor.getSelectedTable();
TableModel model = (TableModel) tb.getModel();
Vector fontInfo = model.getFontFor(row,column);
CellEditor cellArea = (CellEditor) ((CustomCellEditor)tb.getCellEditor (row,column)).getCellEditor();
Document doc = cellArea.getDocument();
String content = tb.getValueAt(row,column).toString();
if (doc!=null && fontInfo.size()>0 && !content.equals("")) {
// This method reads from model and get right style info
// for current text, and restore them
restoreFontWithAttributes(doc,fontInfo,content);
else
cellArea.setText(tb.getValueAt(row,column).toString());
cellArea.rowEditing = row;
cellArea.columnEditing = column;
cellArea.lastPreferredHeight = cellArea.getPreferredSize().height;
return cellArea;
* @return
public CellEditor getCellEditor() {
return cellArea;
public class CellEditor extends JEditorPane {
private CellStyledEditorKit k;
public CellEditor() {
super("text/plain","");
k = new CellStyledEditorKit();
setEditorKit(k);
// I tried to add document here, but i have had wrong behavior
doc = new DocumentListener() {
public void removeUpdate(DocumentEvent e) {
// Get current selected table
TableEditor tb = (TableEditor) TableEditor.getSelectedTable();
TableModel model = (TableModel) tb.getModel();
model.updateFontInfo();
getDocument().addDocumentListener(doc);
}Ok, stan...this is my CustomCellRenderer class....as i have already said, i have some style text info mainteined by CustomTableModel associated with JTable.
I update CustomTableModel every time that an insert and remove operation happens.
If i add a DocumentListener to CellEditor (that rapresents editor cell of my table) happens that, if i remove some character from an editing cell, i got a removeUpdate event.....and this is right!!! But if i change cell (e.g. supposing editing cell(1,1), click on cell(2,1) then stop edit cell(1,1) and start edit cell(2,1)) i got a removeUpdate event, that I don't wait for to me..
Look at this:
empty cell | some text
cell 0 ------- cell1
supposing you're in cell1 and you have finished to insert "some text".Then click on cell0, that is empty....then document associated with CellArea(extend JEditorPane) before of the click on cell0 had some text, but after click have no text, then for it a removeUpdate is happens.....and is that one i got..
it's as if an unique document is associated to all cells, while should be one document for each cell (i hope this is right).
Clearly, i've same code for renderer, in such way that i can restore style of text on rendering.
Hope is clear....if U have any idea or suggestion please give to me.
Tnx a lot Stanislav..
regards,
anti-shock -
Problem on inserting text from file to a clob column
Hi! I'm having problem in inserting text read from a text file to a clob column in my table.
Here's my code
public void addSyllabusOutline(int syllid)
CLOB objclob1 = null;
CLOB objclob2 = null;
String query = "SELECT outline, projoutline FROM Syllabus WHERE syllabusid = '"+ syllid +"' FOR UPDATE";
try
System.out.print("Getting syllabus outline and projoutline clob locator...");
DBConnection dbconnbean = new DBConnection();
dbconnbean.openConnection();
ResultSet rst = dbconnbean.executeQuery(query);
if(rst.next())
objclob1 = (oracle.sql.CLOB)rst.getClob("outline");
objclob2 = (oracle.sql.CLOB)rst.getClob("projoutline");
Writer clobwriter1 = ((oracle.sql.CLOB)objclob1).getCharacterOutputStream();
String filename1 = "c:\\o1u2t3l4i5n6e7.txt";
File outlinefile1 = new File(filename1);
FileReader outlineFileReader1 = new FileReader(outlinefile1);
char[] cbuffer1 = new char[10 * 1024];
int nread1 = 0;
while((nread1 = outlineFileReader1.read(cbuffer1)) != -1)
clobwriter1.write(cbuffer1, 0, nread1);
//clobwriter1.flush();
clobwriter1.close();
Writer clobwriter2 = ((oracle.sql.CLOB)objclob2).getCharacterOutputStream();
String filename2 = "c:\\p1r2o3j4o5u6t7l8i9n0e.txt";
File outlinefile2 = new File(filename2);
FileReader outlineFileReader2 = new FileReader(outlinefile2);
char[] cbuffer2 = new char[10 * 1024];
int nread2 = 0;
while((nread2 = outlineFileReader2.read(cbuffer2)) != -1)
clobwriter2.write(cbuffer2, 0, nread2);
//clobwriter2.flush();
clobwriter2.close();
System.out.println("done");
dbconnbean.closeConnection();
catch(Exception e)
System.out.println("Error: " + e);
My error is java.sql.SQLException fetch out of sequence. I don't have an Idea on what seems to be the problem. Please help.. Thank you very much. ^_^Hi,
Print the whole stack trace. It will tell you the line which causes the error. How you use clob and blob in oracle is also version dependent. Try to google for
oracle "your version" java clob example.
/Kaj -
Problem inserting text with special Hungarian characters into MySQL database
When I insert text into my MySQL db the special Hungarian
characters (ő,ű) they change into "?".
When I check the
<cfoutput>#FORM.special_character#</cfoutput> it gives
me the correct text, things go wrong just when writing it into the
db. My hosting provider said the following: "please try to
evidently specify "latin2" charset with "latin2_hungarian_ci"
collation when performing any operations with tables. It is
supported by the server but not used by default." At my former
hosting provider I had no such problem. Anyway how could I do what
my hosting provider has suggested. I read a PHP related article
that said use "SET NAMES latin2". How could I do such thing in
ColdFusion? Any suggestion? Besides I've tried to use UTF8 and
Latin2 character encoding both on my pages and in the db but with
not much success.
I've also read a French language message here in this forum
that suggested to use:
<cfscript>
setEncoding("form", "utf-8");
setEncoding("url", "utf-8");
</cfscript>
<cfcontent type="text/html; charset=utf-8">
I' ve changed the utf-8 to latin2 and even to iso-8859-2 but
didn't help.
Thanks, AronI read that it would be the most straightforward way to do
everything in UTF-8 because it handles well special characters so
I've tried to set up a simple testing environment. Besides I use CF
MX7 and my hosting provider creates the dsn for me so I think the
db driver is JDBC but not sure.
1.) In Dreamweaver I created a page with UTF-8 encoding set
the Unicode Normalization Form to "C" and checked the include
unicode signature (BOM) checkbox. This created a page with the meta
tag: <meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />. I've checked the HTTP header with an online
utility at delorie.com and it gave me the following info:
HTTP/1.1, Content-Type: text/html; charset=utf-8, Server:
Microsoft-IIS/6.0
2.) Then I put the following codes into the top of my page
before everything:
<cfprocessingdirective pageEncoding = "utf-8">
<cfset setEncoding("URL", "utf-8")>
<cfset setEncoding("FORM", "utf-8")>
<cfcontent type="text/html; charset=utf-8">
3.) I wrote some special Hungarian chars
(<p>őű</p>) into the page and they displayed
well all the time.
4.) I've created a simple MySQL db (MySQL Community Edition
5.0.27-community-nt) on my shared hosting server with phpMyAdmin
with default charset of UTF-8 and choosing utf8_hungarian_ci as
default collation. Then I creted a MyISAM table and the collation
was automatically applied to my varchar field into wich I stored
data with special chars. I've checked the properties of the MySQL
server in MySQL-Front prog and found the following settings under
the Variables tab: character_set_client: utf8,
character_set_connection: utf8, character_set_database: latin1,
character_set_results: utf8, character_set_server: latin1,
character_set_system: utf8, collation_connection: utf8_general_ci,
collation_database: latin1_swedish_ci, collation_server:
latin1_swedish_ci.
5.) I wrote a simple insert form into my page and tried it
using both the content of the form field and a hardcoded string
value and even tried to read back the value of the
#FORM.special_char# variable. In each cases the special Hungarian
chars changed to "q" or "p" letters.
Can anybody see something wrong in the above mentioned or
have an idea to test something else?
I am thinking about to try this same page against a db on my
other hosting providers MySQL server.
Here is the to the form:
http://209.85.117.174/pages/proba/chartest/utf8_1/form.cfm
Thanks, Aron -
Triggers problem - please help - urgent !!
To all experts, please help me with this problem - need answer
urgently. Thanks in advance.
Using Oracle 8 Rel 8.0.6
I have 2 tables (table Y, table Z).
In the 'after insert upd del on each row trigger' (lets call it
AIUD trigger)on table Y, based on certain criteria, I insert a
record in table Z.
New requirement is that whenever a record is inserted in table Z
(fyi, inserting any record in table Z is possible only when
records are inserted in table Y as mentioned earlier thro the
AIUD trigger - i.e. there is no frontend way to insert records
in table Z), if certain (new) criteria is satisfied, I should
insert 1 record in both, table Y and table Z.
I tried to create meet the new requirement by adding code to
existing AIUD trigger but ran into mutating tables error. So I
dropped this idea.
I have now created 'after insert on each row trigger' (lets call
it NEW_TRIGGER) on table Z to meet the new requirement but have
these 2 problems :
1) the trigger always compiles with errors
2) if I still go ahead and insert a record in table Y, I get the
foll error msgs :
ORA 4098 - NEW_TRIGGER is inv
ORA 6512 at line xxx on AIUD
ORA 4088 error during execution of trigger AIUD
What is the best way to work on this requirement or what am I
doing wrong ?
Thanks again,
AG.Your restatement of the problem merely confirms what the previous
posting said. You cannot write a trigger on table Y that inserts
a record into table Y: that's the mutating trigger problem
(there's oodles of postings on the subject, not to mention
online Oracle docs). You could write a trigger on table Z that
inserts into table Y - but you need to be able to see the value
I3 which (presumeable) you can't.
One solution is to use code the trigger on table Y to submit a
call to DBMS_JOB which initiates a procedure that inserts a
record into table Y.
You must remember that the new record in table Y must never
include the value I3, otherwise you'll end up w/ an infinite
loop.
rgds, APC -
Hi
I've a big problem with adobe acrobat reader XI pro and I hope you can help me.
The problem is; when I past copied text from some pdf books (not all of them) it past symbols only! wherever I past it! and even if I coped that text from another pdf reader (adobe pdf reader, internet browsers, ...etc.).
This problem started to happen since yesterday when I installed adobe acrobat reader XI pro to try it before I buy it, and before that when I was using the free adobe pdf reader I was totally able to copy any text from any pdf and past it anywhere with nothing wrong.
What can I do?
thank you a lot.There is no product called Adobe Acrobat Reader Pro. There is
- Adobe Acrobat Pro ($$)
- Adobe Reader (free)
Which do you have? And are you a programmer? -
My Imac is ejecting every disk inserted in it, I cannot access the disks, can any body help me troubleshoot the problem. I am using snow leopard.
Try resetting the SMC Intel-based Macs: Resetting the System Management Controller (SMC) - Apple Support
and PRAM How to Reset NVRAM on your Mac - Apple Support
If those don't help you can try a cleaning disc or a quick shot of compressed air. Chances are that your drive has failed, join the club it's not all that uncommon. You can either have it replaced or purchase an inexpensive external drive. Don't buy the cute little Apple USB Superdrive, it won't work on macs with internal drives working or not. -
Urgent, Please help me in this problem.I am getting problem while installation
I am using Windows 8 in my system. I am trying to install Sql Server in system . Everything is fine, but finally when i click on install button i am getting the following error .
please help me quickly. I well be thankful to you.Triple post meanwhile:
http://social.msdn.microsoft.com/Forums/en-US/7fafa499-ca1e-42f7-a117-73df924d9847/urgent-please-help-me-in-this-problemi-am-getting-problem-while-installation?forum=sqlsetupandupgrade
http://social.msdn.microsoft.com/Forums/en-US/a1c7978c-2f84-495f-a8b6-9e9fe46654d7/getting-problem-while-installing-sql-server-2012?forum=sqlsetupandupgrade
Olaf Helper
[ Blog] [ Xing] [ MVP] -
I want to buy an in-app purchase but i don`t remember my security questions and i cant access my recovery email either, what can i do? i have 100$ on my account and cant use it because of that problem, please help URGENT
If you have a rescue email address on your account then you can use that - follow steps 1 to 5 half-way down this page will give you a reset link on your account : http://support.apple.com/kb/HT5312
If you don't have a rescue email address (you won't be able to add one until you can answer your questions) then you will need to contact Support in your country to get the questions reset : http://support.apple.com/kb/HT5699
Maybe you are looking for
-
How to reset my Ipad if I can't disable Find my Iphone?
I forgot my restrictions passcode, so I went to try and reset it on my computer. However, Itunes says that I need to disable Find My Iphone on my Ipad. So I go to the settings, and I find the Icloud tab, but the restrictions prevent me from open
-
Flash links show undefined please help ASAP
I just downloaded a trial of Flash CS5 and made a few text changes on my file then i uploaded the .swf file and all the links are undefined. You can see it at www.secretlyspoiled.com please help me. thanks!!!!
-
After updating Nokia Music App, I lost many features like Music Store, genres list, what's new list, recommended list etc. Mixradio was already with previous version hence there was no need to update. No any new feature found in this App (Nokia Mixra
-
Fonts Incorrect when using compressor
When I encode my .motn file straight from Motion, the fonts show up correctly in the finished quicktime. However, I've got about 62 of these motion files that need to be batch encoded, but when they come out of Compressor, the fonts display incorrect
-
Wlwbuild task doesn't support jrockit
In an attempt to speed up our build, we have tried out using the JRockit JVM for ant. However, we were foiled by the wlwbuild task - it insists on invoking java with the argument -XX:-UseThreadPriorities, which is not supported by JRockit. We get: [w