[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 267
  • Last Modified:

creating executable from bytecode on Solaris

I know there are JIT compilers that do it during runtime but I would like to create the native code version of my java bytecode.

Any experience doing this or tools that do this?

I know a lot of tools do it for windows but I am looking specifically for sun.

CJ
0
cheekycj
Asked:
cheekycj
  • 9
  • 8
1 Solution
 
jjdunneCommented:
Try the TowerJ product.  It can be downloaded for a 15-day free trial.  I used it for the HP-UX when it was at version 2.  They have a Solaris version.

http://www.towerj.com/
0
 
mbormannCommented:
I know this doesnt apply to Solaris but u can ask them when they r going to support it,this looks like a good product.

http://www.instantiations.com/jove/product/thejovesystem.htm
0
 
cheekycjAuthor Commented:
Both Jove and TowerJ seemed to be good but pricey... is this standard pricing to convert bytecode to native code?  I didn't think it would be this high.

I guess I could live with the cost.

I will leave the questionopen a little longer to see if I get any other suggestions.

CJ
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
mbormannCommented:
0
 
cheekycjAuthor Commented:
What about gcj?
http://sourceware.cygnus.com/java/
Anyone info/input on it?

CJ
0
 
mbormannCommented:
Well CJ ,I have used the GCC and it also I think compiles Java although I had used that for C++,so have really no idea how good it is.

But I will try it out today /tommorrow and tell you how it goes.
But will have to ask ,to work on the Solaris
0
 
cheekycjAuthor Commented:
Also, anyone played with Jikes (IBM)?

CJ
0
 
mbormannCommented:
I use it daily, its faster than javac which i havent used it for last 4 months.Ok gotta go right now.
0
 
cheekycjAuthor Commented:
Jikes is able to generate native code right?

CJ
0
 
mbormannCommented:
No ,it generates class files much faster ,

If i give javac -O ,then my comp crashes OutOFMemoryError coz it cant compile ALL of our project files ,some 1250 in all ,total .java size == 12MB.
It takes 512MB for 2 hours at a special machine at our parent company.

Well Jikes does this all in 10mins on an average on a 128MB Windows NT machine with much stricter compilation,the warnings it gives are very much helpful.

CJ ,sorry I cant touch the Solaris right now as it's company policy not to touch another machine while in the middle of a project

perhaps this maybe useful?

http://www.irisa.fr/compose/harissa/harissa.html

http://www.cs.arizona.edu/sumatra/toba/

http://www.ifi.unizh.ch/richter/people/pilz/oct/

These articles are worth a look
http://byte.com/art/9805/sec5/art1.htm
http://www.javareport.com/html/ed_letter/index.shtml
http://iecc.com/comparch/article/99-08-077
http://www.ifi.unizh.ch/richter/people/pilz/java/README.txt

Another thing have u looked at IBM's hpc which I am not sure will work for Solaris if they have upgraded that.

http://www.alphaworks.ibm.com/aw.nsf/frame?ReadForm&/aw.nsf/techmain/266EE127852A2287882566F300703F4C
0
 
cheekycjAuthor Commented:
Thanks for your help.

Any new products or ideas?

Otherwise I will close this Q.

CJ
0
 
mbormannCommented:
have u got hold of HPJC from IBM ? I will ask one of our Members here at EE to send it to you if he still has it with him, he may visit this question if he feels like it.

Otherwise I don't have any ideas.
:)
0
 
cheekycjAuthor Commented:
Well, I just got Visual Age for Java
and I believe that has HPJC... if not then I would definitely be interested in it.

CJ
0
 
mbormannCommented:
is it really good, i mean does it have smart edit while typing as in VJ++6.0?
I use it ONLY for typing. I used Symantec but its a Memory hogger.
0
 
cheekycjAuthor Commented:
I have just started to play with VAJ.  I like it 10 times better than Visual Cafe (so far) Its not as big as a memory hog and its gui generation is smoother and every time you change to GUI it doesn't go about changing your custom code like VC did.  Also less space.. my current installation of VC 3.0c is taking up about 400 MB!!!

I will look into the smart edit feature but you will need to explain it a little more.

CJ
0
 
mbormannCommented:
hey I do this

String s =new String();

When I type s.

when the dot is typed by me the drop down appears listing ALL public ,protected data,methods so I just type say 'i' it scrolls to indexOf and intern ,I just hit the shift key and '(' key and viola the 'indexOf(' comes when I have just typed   i + shift + '('

sometimes if u wanna type 'intern' go on pressing successive keys like int and it is highlighted ,

u can also press spacebar so a space appears after the word or use up/down arrow keys.

It saves me lots of typing time.I would definitely recommend it only for that ,i think it's present in all Visual products like VB ,VC etc...

:)
0
 
cheekycjAuthor Commented:
I know what you mean mbormann.

I didn't see it popup for me when I was typing in code but it seems to have that functionality as it has a reference helper on the right click menu.

VAJ has a higher learning curve than I thought.

Well, time to seal off this question.

Thanx for your help again.

CJ
0
 
mbormannCommented:
Thanx to u 2
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 9
  • 8
Tackle projects and never again get stuck behind a technical roadblock.
Join Now