Re: Eclipse error/warning when starting new Java project.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2007-12-04 at 13:40 -0500, Andrew Overholt wrote:
> Sudheer Satyanarayana wrote:
> > Sudheer Satyanarayana wrote:
> >> Andrew Overholt wrote:
> >>> Timothy Selivanow wrote:
> >>>> When I start a new Java project in Eclipse, I get a warning/error down
> >>>> at the bottom of the dialog window that says:
> >>>>
> >>>> "The current workspace uses a 1.4 JRE with compiler compliance level
> >>>> 6.0. This is not recommended and either the JRE or the compiler level
> >>>> should be changed."
> >>>
> >>> This is because 1.7 isn't really supported yet.  Feel free to change 
> >>> your workspace compliance settings or those for that project.
> >>>
> >>> I'm curious, though:  is it an error or a warning?
> >>>
> >> It is a an error.
> >>
> >> An error has occurred. See the log file
> >> /home/sudheer/.eclipse/org.eclipse.platform_3.3.0_1543616141/configuration/1196793422104.log. 
> 
> Are you sure this is the same error that Timothy was talking about?  I 
> don't think so as I see his warning message as well and can continue 
> just fine.
> 
> > [sudheer@localhost ~]$ eclipse
> > *** glibc detected *** /usr/lib64/eclipse/eclipse: double free or 
> > corruption (!prev): 0x000000000063cbc0 ***
> 
> I've never seen that.  Please file a bug.
> 
> Andrew

I'm also seeing issues when trying to do a "Run" or "Run As".  I went
through the HelloWorld tutorial to make sure I'm not missing anything,
and at the end of the tutorial when it says:

To run your application, right-click on your class in the Package
Explorer and select Run As > Java Application. The Console view should
appear at the bottom and display the "Hello, world!" output.


There is only "Open Run Dialog..." when I right click on the class and
hover on "Run As".  If I go through and add a configuration under "Java
Application" (and add HelloWorld as the class) or just click the run
button on the toolbar and choose "Java Application", I get the following
error:

Exception in thread "main" java.lang.NoSuchMethodError: main
Error: A JNI error has occurred, please check your installation and try
again


Should I take this thread over to the Fedora-Java list?



--Tim
 ______ 
< Huh? >
 ------ 
  \
   \   \
        \ /\
        ( )
      .( o ).

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux