Speed up your work with Java ME SDK 3.0
There is one feature which is very helpful but often stays undiscovered. Startup of the emulator is quite slow and becomes annoying when you need to fix the code, recompile and deploy again and again. Help how to get out of this is very simple. SDK 3.0 uses different sort of deployment mechanism. You don't need to exit emulator just exit a running MIDlet and press run while emulator is still up. Recompiled application will be deployed and launched in matter of 3-4 seconds.
let me know how you like it.
I have tried to switch off the FW -> the SDK 3.0 hangs in the initial startup splash. The red line stops at ca 75% done
I have tried to open the port 1299 -> the SDK 3.0 hangs in the initial startup splash. The red line stops at ca 75% done
/Per
Similar Messages
-
Applets not working with Java 1.7.0_51 in MII 14.0 SP4 Patch 5
Hi,
I'm currently evaluating the migration of our MII 12.0 developments to MII 14.
But I'm running in several issues just trying to use simple things like a SQL query template with an iGrid Display template in test mode.
Used versions are: MII 14.0 SP4 Patch 5 and on client side the latest Mozilla Firefox with Java 1.7.0_51
At first I always get a java security warning when the applet is being loaded about unsigned applications.
At second the applet itself is not running. It always shows "No data available" and the java console shows the following errors (iResult is the id of the applet):
iResult [ERROR] - Couldn't set query template: No Query Defined
iResult [ERROR] - Couldn't set display template: null
iResult [ERROR] - Couldn't set display template: null
Is this perhaps a general problem, that the MII applets are not working with Java 1.7.x versions?
If I call the same MII page from a client with Java 1.6.x it is working without errors.
Do you have some suggestions for me?
Regards Timoplease clear your JAVA Cache. that should solve the JRE issue. thanks
-
[svn:osmf:] 13494: Update build script to work with Flex 4 SDK.
Revision: 13494
Revision: 13494
Author: [email protected]
Date: 2010-01-13 20:30:13 -0800 (Wed, 13 Jan 2010)
Log Message:
Update build script to work with Flex 4 SDK.
Modified Paths:
osmf/branches/flex4/build/build.xmlNo, you don't need Flash Builder to use the Flex SDK. If you download the SDK and unzip it, you'll find a 'bin' directory that has the mxmlc compiler in it. You can compile Actionscript or MXML files using that.
./mxmlc MyFlexApp.mxml
If you are building an AIR application, you will use amxmlc
./amxmlc MyAIRFlexApp.mxml
Then, launch your AIR application using adl
./adl.exe MyAIRFlexApp-app.xml
Hope this helps,
Joan -
Do I need flash builder 4 to work with the flex sdk?
Is it necessary to use flash builder 4 to work with the flex sdk?
Can you build apps just using the open source flex sdk. If so are there tutorials and books on how to do so?
Thanks in advance for your help.No, you don't need Flash Builder to use the Flex SDK. If you download the SDK and unzip it, you'll find a 'bin' directory that has the mxmlc compiler in it. You can compile Actionscript or MXML files using that.
./mxmlc MyFlexApp.mxml
If you are building an AIR application, you will use amxmlc
./amxmlc MyAIRFlexApp.mxml
Then, launch your AIR application using adl
./adl.exe MyAIRFlexApp-app.xml
Hope this helps,
Joan -
SDM still not working with Java v6u15
I keep waiting for Java to work some day with their updates on Cisco SDM. Update 14 at least allowed SDM to open. But the new update 15 still hasn't passed the test of clicking on the Configure button and then the Additional Task button. It just doesn't do anything. If it is something that Cisco can fix, please be aware.
Thanks,
.. Jim ..Hi Jim, you need to downgrade the JAVA version on the computer you want to use SDM.
SDM does not support java after: 6u3.
Cisco SDM requires Sun Java Runtime Environment (JRE). The following versions are supported:
â¢JRE 1.5_09
â¢JRE1.4.2_08
â¢JRE 1.5.0_06
â¢JRE 1.5.0_07
â¢JRE 1.6.0_02
â¢JRE 1.6.0_03
As per the release notes.
http://www.cisco.com/en/US/docs/routers/access/cisco_router_and_security_device_manager/software/release/notes/SDMr25.html
This will resolve your issue.
Cisco does not plan to fix this as SDM is end of life.
The product that replaces SDM is CCP: Cisco Configuration Professional, that one works with JAva 6 update 14, but it's a different product. It's also a freeware you can download from our website. -
A friend of mine was telling me how just about every app the isp he works for is designing lately, they've been doing in java. Now this got me curious because I havent' seen much on java for the past year. I'm just curious, if you work with java, what kind of apps do you tend to create with it?
Java is pretty much the top language for server side applications, I think because of its high quality threading (it can serve many clients easily). It also seems to be the language of choice for all business applications lately. But that's just because some idiots in a suit heard the name 'java' and decided it was cool, IMNSHO.
You probably haven't heard much about it because a) Its not overly popular for desktop programs yet b) the apps that use it just use it without bragging about it and c) its not overly popular in open source. But it seems to be getting bigger.
To answer your question about what kind of apps I personally create, check the signature.
Dusty -
Mapping editor not working with Java 5 classes
I have a small protoype web service which I wrote using Tomcat/Axis/Spring/Hibernate and using EJB3 annotations for the mappings. I want to port the persistence layer to Toplink.
I installed Toplink 9.0.4.1 and added the toplink libraries to my project and implemented the DAO and the spring bean defs.
I opened the mapping editor and created a project. When I try to add classes to it for mapping I get an error that it can't find the classes (even though I selected them from the chooser). I figured it might be that they were compiled with Java 5, so I switched the JRE_HOME in setenv.cmd to my Java 5 JRE. Now I can import the classes and see the attributes but when I click on any of them in the Navigator panel, the editor panel remains blank. If I now try to save, I get:
java.lang.NullPointerException
at oracle.toplink.workbench.ui.tools.CheckListModel.getRowCount(CheckListModel.java:119)
at javax.swing.JTable.checkLeadAnchor(JTable.java:2949)
at javax.swing.JTable.tableChanged(JTable.java:2993)
at javax.swing.JTable.setModel(JTable.java:2827)
at oracle.toplink.workbench.ui.tools.CheckList.initialize(CheckList.java:47)
at oracle.toplink.workbench.ui.tools.CheckList.<init>(CheckList.java:26)
It seems that the mapping workbench doesnt work with Java 5. What should I do?Ah, I see. I saw another post here stating that must use 10.1.3.
-
SGD4.6 can't work with Java update7.51
SGD4.6 can't work with Java latest version update 7.51. The webtop keeps showing "loading", is there any patch for this issue?
When Java released update 7.21, it also can't work with SGD4.6, then Oracle fixed it by updating a patch, so how about this problem?Have a look at this Thread:
https://community.oracle.com/thread/2614978 -
How i can start working with Java?
Right now i am having only 8 months of exp in ABAP. can any one help me out to start working with Java specially for Netweaver Purpose
It is great if you can get yourself familiar with java syntax, as is the case with any new langauage. However, the worst thing you can do is just code java in a top down approach. If you are not familiarizing yourself with OO concepts and best practices, then you are going to miss two important benefits that you will get from using OO programming - Reusability and flexibility in the frameworks that you develop (leveraging design patterns).
These benefits will also be directly obtainable when you use ABAP objects.
I am working in the opposite direction at the moment. I have some java experience, and I am starting to learn ABAP. I have used ABAP objects in my first project, and it was actually much better than I thought it would to be.
Java and OO programming will be an ongoing learning experience. You will not be an expert for quite some time. I do not consider myself to be an expert by any means, and I've be studying OO and java for a few years.
There is a fantastic book that explains OO concepts clearly, in much easier terms than the Gof "Design Patterns" book:
Java Design: Objects, UML, and Process by Kirk Knoernschild
You can read a few chapters at www.kirkk.com. (Use the JOUP link).
Hope this helps you.
- Brendan -
Can "scrollmouses" work with java scrollbars
Hi,
These days many mouses have a third "button" (between the two usual buttons) for scrolling. So my question: Is it possible to get this scroll-button to work with java scrollbars?
-OhtoI haven't done anything with it myself, but mouse wheel support was added in 1.4. Check out the java.awt.event.MouseWheelEvent class.
-
Is oracle ebs work with java version 7.51 ?
Hi,
is oracle ebs work with java version 7.51 ?
ThanksFindy Nurtantio wrote:
Hi,
is oracle ebs work with java version 7.51 ?
Thanks
Yes, Java JRE 1.7.0_51 is certified with Oracle E-Business Suite -- https://blogs.oracle.com/stevenChan/entry/java_jre_1_7_08
Thanks,
Hussein -
Hi everyone,
According to this page,
http://www.java2s.com/
There are heaps of technologies associated with Java.
As I am just a complete beginner, where do you think I should be starting with?
I am currently after a simple application with GUI, database
I think I should learn JSP afterwards, what is your opinion?
Thanks
JackThanks guys for th replies.
Now I have the simple program working, so let's move on.
import java.awt.Button;
import java.awt.Color;
import java.awt.BorderLayout;
import java.awt.TextField;
import java.awt.Frame;
import java.awt.Font;
import java.awt.Label;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowListener;
import java.awt.event.WindowEvent;
import java.awt.event.WindowAdapter;
import java.awt.event.FocusEvent;
import java.awt.event.FocusAdapter;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
class Quotation
String QuotationID;
String QuotationType;
Quotation()
String FindByQuotationNo(String Type)
if (Type == "Test") {
return "Q08011132";
return "Error";
public class TestSwing extends Frame
Button post = new Button("Find");
Label mouseLabel = new Label("");
Quotation quo = new Quotation();
TestSwing(String title)
super(title);
super.setSize(500,400);
mouseLabel.setFont(new Font("Arial", Font.BOLD, 20));
mouseLabel.setBackground(Color.PINK);
super.add(post, BorderLayout.NORTH);
super.addWindowListener(new MyWindowListener());
super.add(mouseLabel, BorderLayout.CENTER);
mouseLabel.addMouseListener(new MyMouseAdapter(mouseLabel));
public static void main(String[] args)
TestSwing demo = new TestSwing("Hello World");
demo.setVisible(true);
String QuoType = quo.FindByQuotationNo ("Test");
class MyAction implements ActionListener
private String name = null;
MyAction(String name)
this.name = name;
public void actionPerformed(ActionEvent e)
class MyWindowListener extends WindowAdapter
public void windowClosing(WindowEvent e)
System.exit(0);
class MyMouseAdapter extends MouseAdapter
private Label label = null;
MyMouseAdapter(Label label)
this.label = label;
public void mouseClicked(MouseEvent e)
int x = e.getX();
int y = e.getY();
String key = null;
if (e.getButton() == e.BUTTON1)
key = "left key";
else if (e.getButton() == e.BUTTON3)
key = "right key";
label.setText ("X-" + x + "Y-" + y + "," +key);
With the above snippet, I wonder how can you connect "FindByQuotationType" to the main class
///// Error
C:\JavaTest>javac TestSwing.java
TestSwing.java:72: non-static variable quo cannot be referenced from a static co
ntext
String QuoType = quo.FindByQuotationNo ("Test");
^
1 error -
I can't get Safari work with Java 7 version 20 any suggestions?
I can't get the newest version of Java to work with Safari 6.02. It doesn't recognize it . Works fine with Firefox.
If you have Java 7u13 installed in your system, but it isn't working with Safari, you will want to ensure the plugin is properly enabled.
1. Under "System Preferences...", you will want to open the Java preferences pane (which will open a new window). Under the Security tab of the Java prefences pane, ensure "Enable Java content in the browser" is checked. This will allow Java web content to be used globally (if Java works under Firefox, this is probably already checked).
2. Open Safari's Preferences. Under Security there are four checkboxes grouped under the label "Web content:". One of them is Java. Ensure it is checked.
Be aware that enabling Java in the browser does open you up to any Java vulnerabilities. Best practices are to only enable Java when you need it, and disable it otherwise. -
JSF webapp works with Java 1.4, but not Java EE 5
Hello
I am having a really weird problem with internationalizing my JavaServer Faces web application.
I am using Netbeans 6.0, Tomcat 6.0.10, JSF 1.2, and JTSL 1.1....
If I use Java 1.4 to run the webapp, everything works fine!
If I use Java EE 5 then it fails to execute internationalization of my choosen locale.
I could just use Java 1.4 and have my site working fine, but I would really like to use Java EE 5 since it can do more. Also I don't see why it can work on one version of Java but not another. My locales are English (en) and Korean (ko).
This is my index.jsp
<%--
Document : index
Created on : 2/05/2008, 01:33:01
Author : Steve
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
<html>
<f:view locale="#{localeBean.language}">
<f:loadBundle basename="resources.messages" var="msg"/>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<h2>Hello <h:outputText value="#{localeBean.country}"/>!</h2>
<br>
<h4><h:outputText value="#{msg.language}"/>:</h4>
<h:form id="languageForm">
<h:selectOneMenu onchange="this.form.submit();" valueChangeListener="#{localeBean.dropdown1_processValueChange}">
<f:selectItem itemLabel="English" itemValue="en"/>
<f:selectItem itemLabel="������" itemValue="ko"/>
</h:selectOneMenu>
</h:form>
<h:outputText value="#{localeBean.language}"/>
</body>
</f:view>
</html>This is my localeBean which is under the package "resources"
* To change this template, choose Tools | Templates
* and open the template in the editor.
package resources;
* @author Steve
import java.util.Locale;
import javax.faces.event.ValueChangeEvent;
public class localeBean {
private String language = Locale.getDefault().getLanguage();
private String country = Locale.getDefault().getCountry();
public String getLanguage() {
return language;
public void setLanguage(String newValue) {
language = newValue;
public String getCountry() {
return country;
public void setCountry(String newValue) {
country = newValue;
public void dropdown1_processValueChange(ValueChangeEvent vce) {
setLanguage((String) vce.getNewValue());
}This is my faces-config file
<?xml version='1.0' encoding='UTF-8'?>
<!-- =========== FULL CONFIGURATION FILE ================================== -->
<faces-config version="1.2"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
<application>
<locale-config>
<default-locale>en</default-locale>
<supported-locale>en</supported-locale>
<supported-locale>ko</supported-locale>
</locale-config>
<message-bundle> resources.messages </message-bundle>
</application>
<managed-bean>
<managed-bean-name>localeBean</managed-bean-name>
<managed-bean-class>resources.localeBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
</faces-config>and lastly I have my message bundle under the "resources" package which is named "messages".
This has a key word "language" which is "Language" in the 'en' locale file and "����" in the 'ko' locale file.
Once again when using Java 1.4 this project runs fine, however with Java EE 5 it does not.
You may notice in my index.jsp that I have <h:outputText value="#{localeBean.language}"/>
I use this to display the locale that has been chosen by my select box. Even when this shows a different language has been chosen the page does still not display in the correct language. According to <f:view locale="#{localeBean.language}"> then the locale of the page should be changed.
I have looked over the web quite far for an answer to this problem. But everyone else seems to be using a similar method of loading up a message bundle and using it the same way I am. However my method does not work.
Any suggestions or clues to what is going wrong would be really appreciated.
Thanks in advance^^it seems that the
<f:view locale="en">
only work if a ressource bundle with the locale sufix '_en' is provided.
Everything works now if I provide 3 ressouce files:
global_en.properties
global_de.properties
global.properties
global.properties and global_en.properties are identically!
But if I delete the global_en.properties file always the global_de.properties file wins before the default properties.
I did not expect such a behavior :-( -
Why windows command prompt is not working with java
I installed java 1.6 to my computer (Laptop) and it is perfectly working with Netbeans and Eclipse
but not working with windows xp xommand prompt
It compiles the code but when it is going to run it throw the following exception
Exception in thread "main" java.lang.UnsupportedClassVersionError: Example (Unsupported major.minor version 50.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)I've reinstalled java 1.6, but the output is same
Please help me to get it correct
Thank youE:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracl
e\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Progr
am Files\Microsoft SQL Server\90\Tools\binn\;C:\OrCAD\OrCAD_10.0\tools\pcb\bin;C
:\OrCAD\OrCAD_10.0\tools\specctra\bin;C:\OrCAD\OrCAD_10.0\tools\bin;C:\OrCAD\OrC
AD_10.0\tools\PSpice\Library;C:\OrCAD\OrCAD_10.0\tools\fet\bin;C:\OrCAD\OrCAD_10
.0\tools\jre\bin;C:\OrCAD\OrCAD_10.0\tools\Capture;C:\Program Files\QuickTime\QT
System\;C:\Program Files\Java\jdk1.6.0_01\bin;C:\Program Files\Microsoft Visual
Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual Studio\Common\MSDev9
8\Bin;C:\Program Files\Microsoft Visual Studio\Common\Tools;C:\Program Files\Mic
rosoft Visual Studio\VC98\bin;
Maybe you are looking for
-
TNSNAMES.ORA for Oracle database 11.1.0.7
Hi, Im installed oracle database 11.1.0.7 ,but unable find the TNSNAMES.ORA File.Can any help on this.
-
In windows 7, how do I make firefox start automatically when I turn on the pc.?
In windows 7, how do I make firefox start automatically when I turn on the pc
-
Use View Object with Alternative Data Sources in View Link
In my case, I created a view object based on alternative data source (not with SQL query). I have setQuery(null) in the override create() function for this View Object. When I use this View Object at the destination end of the View Link, the setQuery
-
Solaris 10 u5 Samba slow transfer rates?
Hi! I've installed Solaris 10 x86 (Core2Duo - x64) server, with Samba over ZFS RAID-Z. Samba is a part of Active Directory Domain. I've managed to join it to domain, to get the users and groups from A.D. and to translate them to Unix IDs. Everything
-
Best way to log/notify when someone logs into ASDM
What is the best practice to get a notification and log when s omeone logs in and uses the ASDM? I have syslog server setup and smtp, and snmp traps, but not sure where to tell it to notify me when someone logs into the asdm..... any suggestions? th