Modify

Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#12470 closed defect (invalid)

Cross-compile java applications

Reported by: Daniel Owned by:
Priority: normal Milestone: Barrier Breaker 14.07
Component: documentation Version: Trunk
Keywords: cross-compile java applications Cc:

Description

Hi, I have compiled the trunk, no problem with that. I have installed java resources in /usr/bin, /usr/lib and /usr/share, but I haven't been able to compile some simple programs that I have done in Eclipse, I have used javac to compiled a hello world and I obtain the .class file but when I try to execute the helloworld.class file in my embedded system with:
java helloworld.class
it does nothing, it just says:
/usr/bin/java: line 1: syntax error: unexpected word (expecting ")")
but when I execute this in my computer it runs, so I guess it is because I have to cross-compile this java files, so How can I do that?

Thank you for your attention

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by jow

  • Resolution set to invalid
  • Status changed from new to closed

This is a bug tracker. Please use the forums or mailing lists for general devlopment questions.

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.