|
I currently am looking at a bug related to an application crash when running on Mac OS X. The crash only seems to occur when using Java 6, with the Mac OS X 10.5 Update 1 (64 bit mode). The problem does not show up on 32bit Mac Java installs.
From what...
Started by leaf dev on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
On the other hand, since Java 5 is still the default on Mac OS X, I am still using Java 5 for those applications libraries with Java 6, this....
My experience is that native 32-bit libraries cannot be loaded by Mac Java 6 at all.
|
|
Hello today in the java Sun page there is an article about JAXB technology wich helps on create XML schemas and create java objects instances from/to xml documents.
This tech could help me if have known it before. The same happens to me with JPA.
There...
Started by Telcontar on
, 7 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
They are also building a Wiki of Java info which....
Also Java.net is another good site with communities for Desktop Java, XML etc.
Interested in Java 7, then there's a bunch of links to related technologies and apis in one place.
|
|
My career has always been C and C++ programming. I have some basic Java experience. I have a lot of personal Ruby/Rails experience and lately I've been doing some Grails stuff at work as well.
I'm just curious if it's worth it to pick up Java and related...
Started by intargc on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Java and C#/.NET are both good for your resume of each (Java, Ruby, Python, C....
Java is still very large, but I believe C# and the .NET framework has much more career potential to learn a new language and its approaches to problems.
|
Ask your Facebook Friends
|
Antlr users usually create a parser that generates the AST(Abstract syntax tree), and a walker that walks through the AST and generate the desired outcomes. As we know, java(C++, python...etc) codes has to be injected into the .g walker files to carry...
Started by Wing C. Chen on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Write an interface.
Use the Strategy pattern.
JavaCC is widely used, as discussed to count Java constructors, fields and methods.
Many open source parser generators in Java are available.
|
|
Hi, I'm trying to collect some experiences about using a Java library to stream RTP. In your experience, which is the most suitable library for this task? I am currently evaluating: JMF, FMJ, jrtp, others? (that you might suggest)
Thank you, Michele
Started by Michele on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You could also try Xuggler ..
For our project, we ended up switching to a C library called PJSIP .
From recent experience, JMF is horrifically out of date and it is not maintained .
|
|
Hi,
I'm using the Mockito library for Java testing and getting errors in Mockito when I run my test. (I'm using the NetBeans IDE, in case that's relevant). For example, I have a class called Animal and I am trying to perform the following simple test:...
Started by physicskate on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Was not sure what you were trying....
Are you using mockito with junit test..
Please use mockito-all-1.8.jar instead.
Mockito has some external dependencies on objenesis and hamcrest libraryes, line 37 attempts to construct an object from objensis library .
|
|
My question is related to Transactions and Exceptions
Requirements:
I have 10 records to insert into database table. And after inserting every record, I insert data into another table. So if inserting to second table fails, I want to rollback that record...
Started by Vineyard on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Another approach is using savepoints, being able to rollback....
Hi,
I think that you can create two separated transactions, the first for the TransferRecord(1) (doing a commit once everything is fine) and then starting other TX for all the TransferRecord(i+1) .
|
|
I want to generate normally distributed random data matrices. Are there any java or related functions available for implementing this.
Started by BHARATH on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If you need a random number from a distribution of mean m and... .
This returns a floating-point number for a normal distribution with mean 0.0 and standard deviation 1.0 .
Use Random.nextGaussian() defined here.
This is built into the standard libraries.
|
|
Hello. I cant get how to use/create oop code without word static. I read Sun tutorials, have book and examples. I know there are constructors, then "pointer" this etc. I can create some easy non-static methods with return statement. The real problem is...
Started by landscape on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
When you deside to not include a constructor the java compilator will add on for you.
A building (object).
|
|
The following program when run will product stackoverflow as output.
I want to know what is happening in the line where a TestA is being instantiated.
interface TestA { String toString(); } class Test { public static void main(String[] args) { // whats...
Started by gameover on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
What you are doing is to ....
Event listeners in GUI programming, since it saves you from creating a bunch of named single-use classes .
This technique is very useful for e.g.
You are instantiating an anonymous class , that implements the TestA interface .
|