| | |
| | | * |
| | | * |
| | | * Copyright 2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2011 ForgeRock AS |
| | | * Portions Copyright 2011-2013 ForgeRock AS |
| | | */ |
| | | |
| | | package org.opends.quicksetup.installer.ui; |
| | |
| | | |
| | | private boolean isCheckingVisible; |
| | | |
| | | private final int MAX_VALUE_32_BIT = 2048; |
| | | |
| | | private static boolean userAgreedWithWebStart; |
| | | |
| | | /** |
| | |
| | | |
| | | private Message getMemoryErrorMessage(Message msg, int memValue) |
| | | { |
| | | if (memValue < MAX_VALUE_32_BIT) |
| | | // 2048 MB is acceptable max heap size on 32Bit OS |
| | | if (memValue < 2048) |
| | | { |
| | | return msg; |
| | | } |
| | |
| | | } |
| | | if (sb.length() > 0) |
| | | { |
| | | checkOptions(sb.toString(), errorMsgs, ls.toArray(new JLabel[]{}), |
| | | checkOptions(sb.toString(), errorMsgs, |
| | | ls.toArray(new JLabel[ls.size()]), |
| | | ERR_GENERIC_JAVA_ARGUMENT.get(sb.toString())); |
| | | } |
| | | } |